summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier S. Pedro <javier@javispedro.com>2012-02-13 21:19:14 +0100
committerJavier S. Pedro <javier@javispedro.com>2012-02-13 21:19:14 +0100
commit25d479dac126e5b91b4bec90bf36d9d8c9371775 (patch)
tree09f60cbf3e652047cac8faf6cbbbbe853081e660
parentcd71055f14b70284d8bd3eb35fadc15b36ba0780 (diff)
downloadfmrx-qt-25d479dac126e5b91b4bec90bf36d9d8c9371775.tar.gz
fmrx-qt-25d479dac126e5b91b4bec90bf36d9d8c9371775.zip
cleaning some leftoversHEADmaster
-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
{