From 5123e9e61c8759dbf2daa57730dbc22375a6c771 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Fri, 23 Dec 2016 23:26:40 +0900 Subject: Notify state changed Change-Id: Ia862ed423cb6ef8ef7000907fa07462cc8f17ed2 Signed-off-by: Tasuku Suzuki --- rtlfmradiotunercontrol.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtlfmradiotunercontrol.cpp b/rtlfmradiotunercontrol.cpp index 1fdf8d3..99054ac 100644 --- a/rtlfmradiotunercontrol.cpp +++ b/rtlfmradiotunercontrol.cpp @@ -357,6 +357,7 @@ void RtlFmRadioTunerControl::start() //rtl_fm_stop(); rtl_fm_start(); d->state = QRadioTuner::ActiveState; + emit stateChanged(d->state); qDebug() << "RtlFmRadioTunerControl::start - exit\n"; } @@ -373,6 +374,7 @@ void RtlFmRadioTunerControl::stop() rtl_fm_stop(); d->state = QRadioTuner::StoppedState; + emit stateChanged(d->state); qDebug() << "RtlFmRadioTunerControl::stop - exit\n"; } -- cgit 1.2.3-korg