author | ar <ar> | 2005-03-10 16:21:07 (UTC) |
---|---|---|
committer | ar <ar> | 2005-03-10 16:21:07 (UTC) |
commit | 3bf4809c4f2263f0130472c41aa6c85e46e61db9 (patch) (unidiff) | |
tree | 82c34fddb63bb6ca8cbd53709ab2642795241d38 /library/widget_showing.cpp | |
parent | 95a99e7b75eddc5629e839698b762f594be42b9f (diff) | |
download | opie-3bf4809c4f2263f0130472c41aa6c85e46e61db9.zip opie-3bf4809c4f2263f0130472c41aa6c85e46e61db9.tar.gz opie-3bf4809c4f2263f0130472c41aa6c85e46e61db9.tar.bz2 |
- implement nomax.patch from openembedded
-rw-r--r-- | library/widget_showing.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
@@ -52,8 +52,12 @@ void QPEApplication::showWidget( QWidget* wg, bool nomax ) { | |||
52 | return; | 52 | return; |
53 | } | 53 | } |
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(); |
58 | } else { | 62 | } else { |
59 | #ifdef Q_WS_QWS | 63 | #ifdef Q_WS_QWS |