summaryrefslogtreecommitdiff
authorzecke <zecke>2003-10-07 13:12:03 (UTC)
committer zecke <zecke>2003-10-07 13:12:03 (UTC)
commit23fd77c2b4ea230af2915d4ce3f2e75cefdedb2b (patch) (side-by-side diff)
tree242800673c3db80966ae9f8cd5dc8546c2e440ec
parente125e425d7c25b32527726c416b347902294bfdf (diff)
downloadopie-23fd77c2b4ea230af2915d4ce3f2e75cefdedb2b.zip
opie-23fd77c2b4ea230af2915d4ce3f2e75cefdedb2b.tar.gz
opie-23fd77c2b4ea230af2915d4ce3f2e75cefdedb2b.tar.bz2
ifndef -> if defined... we want big icons on high_res_small_phy
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index cd1c62e..d4734ae 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -585,17 +585,17 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
d->loadImageCodecs();
int dw = desktop() ->width();
if ( dw < 200 ) {
setFont( QFont( "vera", 8 ) );
AppLnk::setSmallIconSize( 10 );
AppLnk::setBigIconSize( 28 );
}
-#ifndef OPIE_HIGH_RES_SMALL_PHY
+#if defined(OPIE_HIGH_RES_SMALL_PHY)
else if ( dw > 600 ) {
setFont( QFont( "vera", 16 ) );
AppLnk::setSmallIconSize( 24 );
AppLnk::setBigIconSize( 48 );
}
#endif
else if ( dw > 200 ) {
setFont( QFont( "vera", 10 ) );