summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-23 23:26:40 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-23 23:26:40 +0900
commit5123e9e61c8759dbf2daa57730dbc22375a6c771 (patch)
tree9b73ff86f782e9b6d6eb167fed7c07e1ec6926ab
parentd9a424c6c35dfb2ce7aefaaca708f3bc67d8c938 (diff)
Notify state changed
Change-Id: Ia862ed423cb6ef8ef7000907fa07462cc8f17ed2 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
-rw-r--r--rtlfmradiotunercontrol.cpp2
1 files changed, 2 insertions, 0 deletions
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";
}