From 25d479dac126e5b91b4bec90bf36d9d8c9371775 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 13 Feb 2012 21:19:14 +0100 Subject: cleaning some leftovers --- fmrxcontrol.cpp | 4 ++-- fmrxservice.cpp | 4 ---- fmrxservice.h | 1 - 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/fmrxcontrol.cpp b/fmrxcontrol.cpp index a3c21b5..3e5058c 100644 --- a/fmrxcontrol.cpp +++ b/fmrxcontrol.cpp @@ -49,8 +49,8 @@ int FmRxControl::frequency() const int FmRxControl::frequencyStep(QRadioTuner::Band b) const { - // 0.1 Mhz - return 100 * 1000; + Q_UNUSED(b); // Only one band! + return 100 * 1000; // 0.1 Mhz } QPair FmRxControl::frequencyRange(QRadioTuner::Band b) const diff --git a/fmrxservice.cpp b/fmrxservice.cpp index 750ae8f..1bf18c1 100644 --- a/fmrxservice.cpp +++ b/fmrxservice.cpp @@ -6,15 +6,11 @@ #include "fmrxthread.h" #include "fmrxservice.h" -// Again, this would be incredibly shorter if QAudioOuput could be used. -// Unfortunately, it is completely useless in the Harmattan version. - struct FmRxPriv { FmRxThread *thread; FmRxProxy *proxy; FmRxControl *control; - FmRxRds *rds; bool active; double frequency; quint16 signalLevel; diff --git a/fmrxservice.h b/fmrxservice.h index 75afe38..5227fc4 100644 --- a/fmrxservice.h +++ b/fmrxservice.h @@ -8,7 +8,6 @@ struct FmRxPriv; class FmRxProxy; class FmRxControl; -class FmRxRds; class FmRxService : public QMediaService { -- cgit v1.2.3