author | mickeyl <mickeyl> | 2005-04-19 13:27:29 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-04-19 13:27:29 (UTC) |
commit | 6ec538f7e4a84e4f76addaf558c415b7dffc659b (patch) (unidiff) | |
tree | 78690e386746d111033f22e997915ab537a5c350 | |
parent | 9b8dd642c4b135070911c78bb5d31a7add7162ee (diff) | |
download | opie-6ec538f7e4a84e4f76addaf558c415b7dffc659b.zip opie-6ec538f7e4a84e4f76addaf558c415b7dffc659b.tar.gz opie-6ec538f7e4a84e4f76addaf558c415b7dffc659b.tar.bz2 |
fix windowing on c7x0 - patch from OE
-rw-r--r-- | library/widget_showing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/widget_showing.cpp b/library/widget_showing.cpp index ee63759..e43a16a 100644 --- a/library/widget_showing.cpp +++ b/library/widget_showing.cpp | |||
@@ -47,17 +47,17 @@ int QPEApplication::execDialog( QDialog* d, bool nomax ) | |||
47 | } | 47 | } |
48 | 48 | ||
49 | void QPEApplication::showWidget( QWidget* wg, bool nomax ) { | 49 | void QPEApplication::showWidget( QWidget* wg, bool nomax ) { |
50 | if ( wg->isVisible() ) { | 50 | if ( wg->isVisible() ) { |
51 | wg->show(); | 51 | wg->show(); |
52 | return; | 52 | return; |
53 | } | 53 | } |
54 | 54 | ||
55 | #ifndef OPIE_NO_WINDOWED | 55 | #ifdef OPIE_NO_WINDOWED |
56 | Q_UNUSED( nomax ) | 56 | Q_UNUSED( nomax ) |
57 | if ( TRUE ) { | 57 | if ( TRUE ) { |
58 | #else | 58 | #else |
59 | if ( !nomax | 59 | if ( !nomax |
60 | && ( qApp->desktop()->width() <= 320 ) ){ | 60 | && ( qApp->desktop()->width() <= 320 ) ){ |
61 | #endif | 61 | #endif |
62 | wg->showMaximized(); | 62 | wg->showMaximized(); |
63 | } else { | 63 | } else { |