summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fmrxcontrol.cpp4
-rw-r--r--fmrxservice.cpp4
-rw-r--r--fmrxservice.h1
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<int, int> 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
{