]> git.tdb.fi Git - r2c2.git/commitdiff
Minor style correction
authorMikko Rasa <tdb@tdb.fi>
Thu, 9 Apr 2015 07:51:59 +0000 (10:51 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 9 Apr 2015 07:51:59 +0000 (10:51 +0300)
source/libr2c2/intellibox.cpp
source/libr2c2/track.cpp

index 3f3edf2aad00774b7262fbe0fe9a3f94c71a9787..ec72a32734af9d38f33fa26235988ca62fccfa89 100644 (file)
@@ -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)
index aeccaa697e4bc29a3e8b341737401200bd5bd82e..d7ccf667673d16dc99b969a36f35798cfd6177cb 100644 (file)
@@ -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);
 }