diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-14 19:00:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-14 19:00:26 +0300 |
commit | 2d6c31851b610561f3376d49b2327919c5edf985 (patch) | |
tree | 5a3f279493736b0d0b96506f87054151d920ec9e /src/gui/windows | |
parent | 5168e8d602d3a25332e1bbde321460cdd8d82c89 (diff) | |
download | manaplus-2d6c31851b610561f3376d49b2327919c5edf985.tar.gz manaplus-2d6c31851b610561f3376d49b2327919c5edf985.tar.bz2 manaplus-2d6c31851b610561f3376d49b2327919c5edf985.tar.xz manaplus-2d6c31851b610561f3376d49b2327919c5edf985.zip |
Use CREATEWIDGET macro in debugwindow.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/debugwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/debugwindow.cpp b/src/gui/windows/debugwindow.cpp index 185e4adab..ce1bb5e35 100644 --- a/src/gui/windows/debugwindow.cpp +++ b/src/gui/windows/debugwindow.cpp @@ -26,6 +26,7 @@ #include "gui/windows/setupwindow.h" +#include "gui/widgets/createwidget.h" #include "gui/widgets/tabbedarea.h" #include "gui/widgets/tabs/debugwindowtabs.h" @@ -40,12 +41,11 @@ DebugWindow *debugWindow = nullptr; DebugWindow::DebugWindow() : // TRANSLATORS: debug window name Window(_("Debug"), Modal_false, nullptr, "debug.xml"), - mTabs(new TabbedArea(this)), + mTabs(CREATEWIDGETR(TabbedArea, this)), mMapWidget(new MapDebugTab(this)), mTargetWidget(new TargetDebugTab(this)), mNetWidget(new NetDebugTab(this)) { - mTabs->postInit(); setWindowName("Debug"); if (setupWindow) setupWindow->registerWindowForReset(this); |