-rw-r--r-- | library/qpeapplication.cpp | 6 | ||||
-rw-r--r-- | library/widget_showing.cpp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 953f9d0..0f3e4a4 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -252,2 +252,3 @@ public: | |||
252 | { | 252 | { |
253 | #ifndef OPIE_NO_WINDOWED | ||
253 | maximized = TRUE; | 254 | maximized = TRUE; |
@@ -273,3 +274,3 @@ public: | |||
273 | } | 274 | } |
274 | 275 | #endif | |
275 | return FALSE; | 276 | return FALSE; |
@@ -323,3 +324,3 @@ public: | |||
323 | return; | 324 | return; |
324 | 325 | #ifndef OPIE_NO_WINDOWED | |
325 | // 350 is the trigger in qwsdefaultdecoration for providing a resize button | 326 | // 350 is the trigger in qwsdefaultdecoration for providing a resize button |
@@ -344,2 +345,3 @@ public: | |||
344 | cfg.writeEntry( app, s ); | 345 | cfg.writeEntry( app, s ); |
346 | #endif | ||
345 | } | 347 | } |
diff --git a/library/widget_showing.cpp b/library/widget_showing.cpp index 43ece64..43d19b0 100644 --- a/library/widget_showing.cpp +++ b/library/widget_showing.cpp | |||
@@ -54,4 +54,8 @@ void QPEApplication::showWidget( QWidget* wg, bool nomax ) { | |||
54 | 54 | ||
55 | #ifndef OPIE_NO_WINDOWED | ||
56 | if ( TRUE ) { | ||
57 | #else | ||
55 | if ( !nomax | 58 | if ( !nomax |
56 | && ( qApp->desktop()->width() <= 320 ) ){ | 59 | && ( qApp->desktop()->width() <= 320 ) ){ |
60 | #endif | ||
57 | wg->showMaximized(); | 61 | wg->showMaximized(); |