From: Mikko Rasa Date: Thu, 9 Apr 2015 07:51:59 +0000 (+0300) Subject: Minor style correction X-Git-Url: http://git.tdb.fi/?p=r2c2.git;a=commitdiff_plain;h=66a30fdf63df6ae092fb3d335c30a37e4e6ef40d Minor style correction --- diff --git a/source/libr2c2/intellibox.cpp b/source/libr2c2/intellibox.cpp index 3f3edf2..ec72a32 100644 --- a/source/libr2c2/intellibox.cpp +++ b/source/libr2c2/intellibox.cpp @@ -557,7 +557,7 @@ void Intellibox::process_reply(const Time::TimeStamp &t) if(!sensor.state) { sensor.state = state; - signal_sensor(addr, state); + signal_sensor.emit(addr, state); } } else if(sensor.state) diff --git a/source/libr2c2/track.cpp b/source/libr2c2/track.cpp index aeccaa6..d7ccf66 100644 --- a/source/libr2c2/track.cpp +++ b/source/libr2c2/track.cpp @@ -203,7 +203,7 @@ void Track::set_active_path(unsigned p) if(active_path==p) return; - signal_path_changing(p); + signal_path_changing.emit(p); path_changing = true; layout.get_driver().set_turnout(turnout_id, p); }