summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2005-03-12 23:35:32 (UTC)
committer zecke <zecke>2005-03-12 23:35:32 (UTC)
commit0dde10390f3b9c85030741e861d893a6a78fbbb1 (patch) (unidiff)
tree7683792d362561329887000b8ff0fa16978360f7 /library
parent69962e7b69ebf91c01a1354d7870f4ca7a81aa06 (diff)
downloadopie-0dde10390f3b9c85030741e861d893a6a78fbbb1.zip
opie-0dde10390f3b9c85030741e861d893a6a78fbbb1.tar.gz
opie-0dde10390f3b9c85030741e861d893a6a78fbbb1.tar.bz2
-Fix compiler warning about a unused variable (nomax)
-The code seems to be twisted, and needs to be done the other way around (I will probably reconsider that statement with enough sleep tomorrow)
Diffstat (limited to 'library') (more/less context) (ignore 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
@@ -53,6 +53,7 @@ void QPEApplication::showWidget( QWidget* wg, bool nomax ) {
53 } 53 }
54 54
55#ifndef OPIE_NO_WINDOWED 55#ifndef OPIE_NO_WINDOWED
56 Q_UNUSED( nomax )
56 if ( TRUE ) { 57 if ( TRUE ) {
57#else 58#else
58 if ( !nomax 59 if ( !nomax