summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-23 10:24:29 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-23 10:31:36 -0600
commit01263d9ebb304d9fba90d741bf849e0865e3c17d (patch)
tree584bda0e0ec4a37b8fe911c6539ac29d54761f94 /src/gui/inventorywindow.cpp
parent69db63d2537b959a3a994fd77ae0d630126fe7e5 (diff)
downloadmana-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.gz
mana-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.bz2
mana-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.xz
mana-01263d9ebb304d9fba90d741bf849e0865e3c17d.zip
Clear some more support ifdefs
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 06e43eac..50465a50 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -23,6 +23,7 @@
#include "gui/itemamount.h"
#include "gui/itemcontainer.h"
+#include "gui/setup.h"
#include "gui/sdlinput.h"
#include "gui/viewport.h"
@@ -57,6 +58,7 @@ InventoryWindow::InventoryWindow(int invSize):
mItemDesc(false)
{
setWindowName("Inventory");
+ setupWindow->registerWindowForReset(this);
setResizable(true);
setCloseButton(true);
setSaveVisible(true);