diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-17 22:13:24 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-17 22:13:24 +0100 |
commit | fcc90586d1d1631c31b2799fdaf410af1b073cf0 (patch) | |
tree | 589d81d377b087ac607b4a79a2eea065ee9c5893 /src/gui/buy.cpp | |
parent | 1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb (diff) | |
download | mana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.gz mana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.bz2 mana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.xz mana-fcc90586d1d1631c31b2799fdaf410af1b073cf0.zip |
Reintroduced window name property
Still used in the eAthena client and it seems saner to me to have it.
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r-- | src/gui/buy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp index a948b136..008c7bb9 100644 --- a/src/gui/buy.cpp +++ b/src/gui/buy.cpp @@ -40,6 +40,7 @@ BuyDialog::BuyDialog(): Window(_("Buy")), mMoney(0), mAmountItems(0), mMaxItems(0) { + setWindowName("Buy"); setResizable(true); setMinWidth(260); setMinHeight(230); @@ -85,7 +86,7 @@ BuyDialog::BuyDialog(): Layout &layout = getLayout(); layout.setRowHeight(0, Layout::AUTO_SET); - loadWindowState("Buy"); + loadWindowState(); setLocationRelativeTo(getParent()); } |