summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2003-10-07 13:12:03 (UTC)
committer zecke <zecke>2003-10-07 13:12:03 (UTC)
commit23fd77c2b4ea230af2915d4ce3f2e75cefdedb2b (patch) (unidiff)
tree242800673c3db80966ae9f8cd5dc8546c2e440ec /library
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 (limited to 'library') (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
@@ -581,25 +581,25 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
581 QPixmapCache::setCacheLimit(256); // sensible default for smaller devices. 581 QPixmapCache::setCacheLimit(256); // sensible default for smaller devices.
582 582
583 d = new QPEApplicationData; 583 d = new QPEApplicationData;
584 d->loadTextCodecs(); 584 d->loadTextCodecs();
585 d->loadImageCodecs(); 585 d->loadImageCodecs();
586 int dw = desktop() ->width(); 586 int dw = desktop() ->width();
587 587
588 if ( dw < 200 ) { 588 if ( dw < 200 ) {
589 setFont( QFont( "vera", 8 ) ); 589 setFont( QFont( "vera", 8 ) );
590 AppLnk::setSmallIconSize( 10 ); 590 AppLnk::setSmallIconSize( 10 );
591 AppLnk::setBigIconSize( 28 ); 591 AppLnk::setBigIconSize( 28 );
592 } 592 }
593#ifndef OPIE_HIGH_RES_SMALL_PHY 593#if defined(OPIE_HIGH_RES_SMALL_PHY)
594 else if ( dw > 600 ) { 594 else if ( dw > 600 ) {
595 setFont( QFont( "vera", 16 ) ); 595 setFont( QFont( "vera", 16 ) );
596 AppLnk::setSmallIconSize( 24 ); 596 AppLnk::setSmallIconSize( 24 );
597 AppLnk::setBigIconSize( 48 ); 597 AppLnk::setBigIconSize( 48 );
598 } 598 }
599#endif 599#endif
600 else if ( dw > 200 ) { 600 else if ( dw > 200 ) {
601 setFont( QFont( "vera", 10 ) ); 601 setFont( QFont( "vera", 10 ) );
602 AppLnk::setSmallIconSize( 14 ); 602 AppLnk::setSmallIconSize( 14 );
603 AppLnk::setBigIconSize( 32 ); 603 AppLnk::setBigIconSize( 32 );
604 } 604 }
605 605