summaryrefslogtreecommitdiffstats
path: root/pokemodr/RulesUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/RulesUI.cpp')
-rw-r--r--pokemodr/RulesUI.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/pokemodr/RulesUI.cpp b/pokemodr/RulesUI.cpp
index 823a863d..24b79ea0 100644
--- a/pokemodr/RulesUI.cpp
+++ b/pokemodr/RulesUI.cpp
@@ -36,15 +36,13 @@ RulesUI::RulesUI(Rules* r, QWidget* parent) :
QMetaObject::connectSlotsByName(this);
setObjects(rules, rules_mod);
connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
- varMaxDV->addItems(Rules::DVStr);
- setGui();
- emit(changed(false));
+ init();
}
-// KToolBar Rules::getToolbar(QWidget* parent)
-// {
-// return KToolBar(parent);
-// }
+void RulesUI::initGui()
+{
+ varMaxDV->addItems(Rules::DVStr);
+}
void RulesUI::setGui()
{