summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/widget_showing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/widget_showing.cpp b/library/widget_showing.cpp
index 43d19b0..ee63759 100644
--- a/library/widget_showing.cpp
+++ b/library/widget_showing.cpp
@@ -48,16 +48,17 @@ int QPEApplication::execDialog( QDialog* d, bool nomax )
void QPEApplication::showWidget( QWidget* wg, bool nomax ) {
if ( wg->isVisible() ) {
wg->show();
return;
}
#ifndef OPIE_NO_WINDOWED
+ Q_UNUSED( nomax )
if ( TRUE ) {
#else
if ( !nomax
&& ( qApp->desktop()->width() <= 320 ) ){
#endif
wg->showMaximized();
} else {
#ifdef Q_WS_QWS