Add (better) portrait mode support. This commit will temporarily break
[groove] / grooveprogressbar.cpp
index dc130bd..82650a1 100644 (file)
@@ -1,5 +1,5 @@
 #include "grooveprogressbar.h"
-
+#include "qmaemo5rotator.h"
 grooveProgressBar::grooveProgressBar(QDialog *parent) :
     QDialog(parent)
 {
@@ -10,6 +10,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)
 {