From ac0ce844e90a64247c0adb210e0a23021b011d57 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 19 Jan 2007 01:15:31 +0000 Subject: Commit of Paul's patch to remove a macro and substitute it with a class variable. --- (limited to 'library/widget_showing.cpp') diff --git a/library/widget_showing.cpp b/library/widget_showing.cpp index e43a16a..cc1bfb2 100644 --- a/library/widget_showing.cpp +++ b/library/widget_showing.cpp @@ -52,13 +52,8 @@ void QPEApplication::showWidget( QWidget* wg, bool nomax ) { return; } -#ifdef OPIE_NO_WINDOWED - Q_UNUSED( nomax ) - if ( TRUE ) { -#else - if ( !nomax - && ( qApp->desktop()->width() <= 320 ) ){ -#endif + if ( !isSaveWindowsPos() || (!nomax + && ( qApp->desktop()->width() <= 30 )) ){ wg->showMaximized(); } else { #ifdef Q_WS_QWS -- cgit v0.9.0.2