From 710aaff34aed6991910366447f716fc532d02794 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 May 2013 22:56:03 +0300 Subject: improve setup class. --- src/gui/setup.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/setup.cpp') 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; -- cgit v1.2.3-70-g09d2