author | llornkcor <llornkcor> | 2004-04-25 05:34:52 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-25 05:34:52 (UTC) |
commit | cf9cab31dc8a46d3a2d74931b2a428ca87eed0a9 (patch) (side-by-side diff) | |
tree | 374e0fbd0e0b8bcc728f37226fcfd372cec06086 | |
parent | 314351a00144a138b52e3e8659afc351615370d8 (diff) | |
download | opie-cf9cab31dc8a46d3a2d74931b2a428ca87eed0a9.zip opie-cf9cab31dc8a46d3a2d74931b2a428ca87eed0a9.tar.gz opie-cf9cab31dc8a46d3a2d74931b2a428ca87eed0a9.tar.bz2 |
revert change 1.76 of this file, as causes titlebars to not show on large displays
-rw-r--r-- | library/qpeapplication.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index cf76000..755fb19 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -176,7 +176,18 @@ public: } #endif - QPEApplication::showWidget( mw, nomaximize ); + if ( mw->layout() && mw->inherits("QDialog") ) { + QPEApplication::showDialog((QDialog*)mw, nomaximize); + } + else { +#ifdef Q_WS_QWS + if ( !nomaximize ) + mw->showMaximized(); + else +#endif + + mw->show(); + } } static bool setWidgetCaptionFromAppName( QWidget* /*mw*/, const QString& /*appName*/, const QString& /*appsPath*/ ) { |