-rw-r--r-- | library/qpeapplication.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 755fb19..cf76000 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -177,16 +177,5 @@ public: #endif - if ( mw->layout() && mw->inherits("QDialog") ) { - QPEApplication::showDialog((QDialog*)mw, nomaximize); - } - else { -#ifdef Q_WS_QWS - if ( !nomaximize ) - mw->showMaximized(); - else -#endif - - mw->show(); - } + QPEApplication::showWidget( mw, nomaximize ); } static bool setWidgetCaptionFromAppName( QWidget* /*mw*/, const QString& /*appName*/, const QString& /*appsPath*/ ) |