diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-19 22:56:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-21 00:02:09 +0300 |
commit | 710aaff34aed6991910366447f716fc532d02794 (patch) | |
tree | dfa7dc9a575b40bde753ba55f04f222529eb26c2 /src/gui/setup.cpp | |
parent | f7a36734654b000a68685a80a353d24b455dd8d0 (diff) | |
download | manaverse-710aaff34aed6991910366447f716fc532d02794.tar.gz manaverse-710aaff34aed6991910366447f716fc532d02794.tar.bz2 manaverse-710aaff34aed6991910366447f716fc532d02794.tar.xz manaverse-710aaff34aed6991910366447f716fc532d02794.zip |
improve setup class.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 344899723..77d2c2e5c 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -50,6 +50,7 @@ #include "debug.h" extern Window *statusWindow; +Setup *setupWindow; Setup::Setup() : // TRANSLATORS: setup window name @@ -125,7 +126,6 @@ Setup::Setup() : SetupTab *const tab = *i; mPanel->addTab(tab->getName(), tab); } - add(mPanel); if (mResetWindows) @@ -252,5 +252,3 @@ void Setup::widgetResized(const gcn::Event &event) mVersion->setPosition(9, height - mVersion->getHeight() - 30); } } - -Setup *setupWindow; |