From d7bc310363c98994457e7882e7010e276169f00a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 23 Feb 2008 03:40:24 +0000 Subject: [FIX] Frac bug with type of Over1 [FIX] PokemodUI vtable errors [FIX] Manual .pro file clean up [FIX] Was attempting to emit a slot... git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@72 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/TimeUI.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pokemodr/TimeUI.cpp') diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp index 692a6c03..38cf7803 100644 --- a/pokemodr/TimeUI.cpp +++ b/pokemodr/TimeUI.cpp @@ -35,7 +35,7 @@ TimeUI::TimeUI(Time* t, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(time, time_mod); - connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); + connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool))); setGui(); } @@ -52,20 +52,20 @@ void TimeUI::setGui() void TimeUI::on_buttonApply_clicked() { *time = *time_mod; - emit(setChanged(false)); + emit(changed(false)); } void TimeUI::on_buttonDiscard_clicked() { *time_mod = *time; - emit(setChanged(false)); + emit(changed(false)); setGui(); } void TimeUI::on_varName_textChanged(const QString& n) { time_mod->setName(n); - emit(setChanged(true)); + emit(changed(true)); } void TimeUI::on_varTime_timeChanged(const QTime& t) @@ -74,7 +74,7 @@ void TimeUI::on_varTime_timeChanged(const QTime& t) { time_mod->setStartHour(t.hour()); time_mod->setStartMinute(t.minute()); - emit(setChanged(true)); + emit(changed(true)); } catch (BoundsException& e) { -- cgit