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