author | zecke <zecke> | 2004-02-21 23:54:24 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-21 23:54:24 (UTC) |
commit | 58f490cf6fd94ec27eec01c0ffc9d0411be594e8 (patch) (side-by-side diff) | |
tree | f9d3ed019712e09744cd11c4a68df69e1e17605e | |
parent | 7595c4c5e1004efb0b4a3f6dcbd4d2baf7b9c8ac (diff) | |
download | opie-58f490cf6fd94ec27eec01c0ffc9d0411be594e8.zip opie-58f490cf6fd94ec27eec01c0ffc9d0411be594e8.tar.gz opie-58f490cf6fd94ec27eec01c0ffc9d0411be594e8.tar.bz2 |
Default to showMaximized on 240x320 and 320x240 displays
-rw-r--r-- | library/qpeapplication.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h index c0f0bfc..8deca21 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h @@ -194,4 +194,3 @@ inline void QPEApplication::showDialog( QDialog* d, bool nomax ) if ( !nomax - && ( w > qApp->desktop()->width()*3/4 - || h > qApp->desktop()->height()*3/4 ) ) + && ( qApp->desktop()->width() <= 320 ) ) { @@ -216,4 +215,3 @@ inline void QPEApplication::showWidget( QWidget* wg, bool nomax ) if ( !nomax - && ( w > qApp->desktop()->width()*3/4 - || h > qApp->desktop()->height()*3/4 ) ) + && ( qApp->desktop()->width() <= 320 ) ) { |