release 0.6.7 (see the debian changelog for a proper list of changes)
[fapman] / packageview.h
index 9111ca8..c5ce12e 100644 (file)
@@ -101,7 +101,6 @@ public:
        void setSearchText(QString text);
        void setSearchOptions(bool pkgname, bool dispname, bool dshort, bool dlong);
 
-#ifdef Q_WS_MAEMO_5            // workaround for buggy Qt autorotation
        void show() {
                if( !isVisible() ) {
                        /*
@@ -119,12 +118,13 @@ public:
                                this->setWindowFlags( Qt::Window );
                        }
                        */
+#ifdef Q_WS_MAEMO_5
                        this->setAttribute(Qt::WA_Maemo5StackedWindow);
                        this->setWindowFlags( Qt::Window );
+#endif
                }
                QMainWindow::show();
        }
-#endif
 
        static const int CatFilterAllMarked = 0;
        static const int CatFilterAllUser = 1;