diff options
Diffstat (limited to 'pokemodr/TimeUI.cpp')
| -rw-r--r-- | pokemodr/TimeUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp index 7b7874e8..b4ae1fdd 100644 --- a/pokemodr/TimeUI.cpp +++ b/pokemodr/TimeUI.cpp @@ -28,10 +28,10 @@ TimeUI::TimeUI(Time* time, QWidget* parent) : QMetaObject::connectSlotsByName(this); setObjects(time, new Time(*time)); connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool))); - connect(modified(), SIGNAL(error()), this, SLOT(setGui())); + connect(modified(), SIGNAL(error(const QString&)), this, SLOT(setGui())); connect(modified(), SIGNAL(error(QString&)), this, SLOT(errorMessage(QString&))); connect(modified(), SIGNAL(warning(QString&)), this, SLOT(warningMessage(QString&))); - connect(modified(), SIGNAL(changed()), this, SIGNAL(changed(true))); + connect(modified(), SIGNAL(changed()), this, SLOT(setChanged())); init(); } |
