add support icons
[groove] / grooveprogressbar.cpp
index 82650a1..e63a4d8 100644 (file)
@@ -1,6 +1,8 @@
 #include "grooveprogressbar.h"
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
 #include "qmaemo5rotator.h"
-grooveProgressBar::grooveProgressBar(QDialog *parent) :
+#endif
+grooveProgressBar::grooveProgressBar(QWidget *parent) :
     QDialog(parent)
 {
     bar = new QProgressBar();
@@ -10,7 +12,7 @@ grooveProgressBar::grooveProgressBar(QDialog *parent) :
     lay->addWidget(bar);
     this->setLayout(lay);
     this->setWindowTitle("Downloading /  Buffering");
-    rot = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior,this);
+    //rot = new QMaemo5Rotator(QMaemo5Rotator::AutomaticBehavior,this);
 }
 void grooveProgressBar::setMaximum(int maximum)
 {