summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.h6
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
@@ -193,6 +193,5 @@ inline void QPEApplication::showDialog( QDialog* d, bool nomax )
int h = QMAX(sh.height(),d->height());
if ( !nomax
- && ( w > qApp->desktop()->width()*3/4
- || h > qApp->desktop()->height()*3/4 ) )
+ && ( qApp->desktop()->width() <= 320 ) )
{
d->showMaximized();
@@ -215,6 +214,5 @@ inline void QPEApplication::showWidget( QWidget* wg, bool nomax )
int h = QMAX(sh.height(),wg->height());
if ( !nomax
- && ( w > qApp->desktop()->width()*3/4
- || h > qApp->desktop()->height()*3/4 ) )
+ && ( qApp->desktop()->width() <= 320 ) )
{
wg->showMaximized();