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/inventorywindow.cpp | |
parent | 1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb (diff) | |
download | mana-client-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.gz mana-client-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.bz2 mana-client-fcc90586d1d1631c31b2799fdaf410af1b073cf0.tar.xz mana-client-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/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 92b635d8..1e3c4084 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -53,6 +53,7 @@ InventoryWindow::InventoryWindow(): Window(_("Inventory")), mSplit(false) { + setWindowName("Inventory"); setResizable(false); setCloseButton(true); // LEEOR/TODO: Since this window is not resizable, do we really need to set these @@ -82,7 +83,7 @@ InventoryWindow::InventoryWindow(): layout.setColWidth(2, 48); layout.setRowHeight(0, Layout::AUTO_SET); - loadWindowState("Inventory"); + loadWindowState(); } void InventoryWindow::logic() |