From 66a30fdf63df6ae092fb3d335c30a37e4e6ef40d Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 9 Apr 2015 10:51:59 +0300 Subject: [PATCH] Minor style correction --- source/libr2c2/intellibox.cpp | 2 +- source/libr2c2/track.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.45.2