summaryrefslogtreecommitdiff
path: root/src/gui/itemshortcutwindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-17 22:13:24 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-17 22:13:24 +0100
commitfcc90586d1d1631c31b2799fdaf410af1b073cf0 (patch)
tree589d81d377b087ac607b4a79a2eea065ee9c5893 /src/gui/itemshortcutwindow.cpp
parent1b3cb122be1a418ce82b66fb9ce1ecf3aa5813fb (diff)
downloadmana-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/itemshortcutwindow.cpp')
-rw-r--r--src/gui/itemshortcutwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/itemshortcutwindow.cpp b/src/gui/itemshortcutwindow.cpp
index 1a71b11e..e21f421b 100644
--- a/src/gui/itemshortcutwindow.cpp
+++ b/src/gui/itemshortcutwindow.cpp
@@ -28,6 +28,7 @@ static const int SCROLL_PADDING = 0;
ItemShortcutWindow::ItemShortcutWindow()
{
+ setWindowName("ItemShortcut");
// no title presented, title bar is padding so window can be moved.
gcn::Window::setTitleBarHeight(gcn::Window::getPadding());
setShowTitle(false);
@@ -49,7 +50,7 @@ ItemShortcutWindow::ItemShortcutWindow()
add(mScrollArea);
- loadWindowState("ItemShortcut");
+ loadWindowState();
}
ItemShortcutWindow::~ItemShortcutWindow()