summaryrefslogtreecommitdiffstats
path: root/pokemodr/TimeUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/TimeUI.cpp')
-rw-r--r--pokemodr/TimeUI.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp
index 2836079b..e186c117 100644
--- a/pokemodr/TimeUI.cpp
+++ b/pokemodr/TimeUI.cpp
@@ -36,14 +36,9 @@ TimeUI::TimeUI(Time* t, QWidget* parent) :
QMetaObject::connectSlotsByName(this);
setObjects(time, time_mod);
connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
- setGui();
- emit(changed(false));
+ init();
}
-// KToolbar TimeUI::getToolbar(QWidget* parent)
-// {
-// }
-
void TimeUI::setGui()
{
varName->setText(time_mod->getName());