diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-14 19:22:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-14 19:22:19 +0300 |
commit | 773a510e8a063962443a88633ffa226a989ba900 (patch) | |
tree | 6f0f2e780025699942da83606954b2a868098c94 /src/gui/windows | |
parent | 96eeaca6177108f93dcaab0520b38f23aea77cd8 (diff) | |
download | mv-773a510e8a063962443a88633ffa226a989ba900.tar.gz mv-773a510e8a063962443a88633ffa226a989ba900.tar.bz2 mv-773a510e8a063962443a88633ffa226a989ba900.tar.xz mv-773a510e8a063962443a88633ffa226a989ba900.zip |
Use CREATEWIDGET macro in skilldialog.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index b4cda6302..8b635b869 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -34,6 +34,7 @@ #include "gui/windows/shortcutwindow.h" #include "gui/widgets/button.h" +#include "gui/widgets/createwidget.h" #include "gui/widgets/label.h" #include "gui/widgets/scrollarea.h" #include "gui/widgets/tabbedarea.h" @@ -70,7 +71,7 @@ SkillDialog::SkillDialog() : ActionListener(), mSkills(), mDurations(), - mTabs(new TabbedArea(this)), + mTabs(CREATEWIDGETR(TabbedArea, this)), mDeleteTabs(), mPointsLabel(new Label(this, "0")), // TRANSLATORS: skills dialog button @@ -79,7 +80,6 @@ SkillDialog::SkillDialog() : mIncreaseButton(new Button(this, _("Up"), "inc", this)), mDefaultModel(nullptr) { - mTabs->postInit(); setWindowName("Skills"); setCloseButton(true); setResizable(true); |