author | ar <ar> | 2004-04-19 19:38:01 (UTC) |
---|---|---|
committer | ar <ar> | 2004-04-19 19:38:01 (UTC) |
commit | a57416ce6dc62bfd2b57d87434c04417ad23cbc5 (patch) (unidiff) | |
tree | 183a53a52327a2fe826203bae06ec1a95eb4f5c1 | |
parent | 23edaa3c2240ae3792b507acf55996660c048336 (diff) | |
download | opie-a57416ce6dc62bfd2b57d87434c04417ad23cbc5.zip opie-a57416ce6dc62bfd2b57d87434c04417ad23cbc5.tar.gz opie-a57416ce6dc62bfd2b57d87434c04417ad23cbc5.tar.bz2 |
- BigScreen: show MainWidget not maximized on big screens
-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 | |||
@@ -175,20 +175,9 @@ public: | |||
175 | ( ( QMainWindow* ) mw )->setUsesBigPixmaps( true ); | 175 | ( ( QMainWindow* ) mw )->setUsesBigPixmaps( true ); |
176 | } | 176 | } |
177 | #endif | 177 | #endif |
178 | 178 | ||
179 | if ( mw->layout() && mw->inherits("QDialog") ) { | 179 | QPEApplication::showWidget( mw, nomaximize ); |
180 | QPEApplication::showDialog((QDialog*)mw, nomaximize); | ||
181 | } | ||
182 | else { | ||
183 | #ifdef Q_WS_QWS | ||
184 | if ( !nomaximize ) | ||
185 | mw->showMaximized(); | ||
186 | else | ||
187 | #endif | ||
188 | |||
189 | mw->show(); | ||
190 | } | ||
191 | } | 180 | } |
192 | static bool setWidgetCaptionFromAppName( QWidget* /*mw*/, const QString& /*appName*/, const QString& /*appsPath*/ ) | 181 | static bool setWidgetCaptionFromAppName( QWidget* /*mw*/, const QString& /*appName*/, const QString& /*appsPath*/ ) |
193 | { | 182 | { |
194 | /* | 183 | /* |