X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=packageview.h;fp=packageview.h;h=c5ce12e138fef52c95be783c02a8cfe3f5a56158;hb=8a562854d6b97e0de528dc13f61ff66f95beb6bd;hp=9111ca86523ba09246e1a2934f9f560950cdf2ea;hpb=53ed473f30dbcb53b28fe21bdd8b08329b6fd4bc;p=fapman diff --git a/packageview.h b/packageview.h index 9111ca8..c5ce12e 100644 --- a/packageview.h +++ b/packageview.h @@ -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;