summaryrefslogtreecommitdiff
authorzecke <zecke>2002-09-10 14:27:11 (UTC)
committer zecke <zecke>2002-09-10 14:27:11 (UTC)
commita768f061a0e4ea279ab70aa2d3e109fc71cb8737 (patch) (unidiff)
treee28952f0ee080942bb92bf347d16c21048a8a495
parent8b59b498892b0e345d977ccd520087b660a91437 (diff)
downloadopie-a768f061a0e4ea279ab70aa2d3e109fc71cb8737.zip
opie-a768f061a0e4ea279ab70aa2d3e109fc71cb8737.tar.gz
opie-a768f061a0e4ea279ab70aa2d3e109fc71cb8737.tar.bz2
Icon size update
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 3ca6d73..c107a08 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -443,6 +443,7 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
443 d->loadTextCodecs(); 443 d->loadTextCodecs();
444 d->loadImageCodecs(); 444 d->loadImageCodecs();
445 int dw = desktop() ->width(); 445 int dw = desktop() ->width();
446 qWarning( "Width %d", dw );
446 if ( dw < 200 ) { 447 if ( dw < 200 ) {
447 setFont( QFont( "helvetica", 8 ) ); 448 setFont( QFont( "helvetica", 8 ) );
448 AppLnk::setSmallIconSize( 10 ); 449 AppLnk::setSmallIconSize( 10 );
@@ -451,7 +452,7 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
451 setFont( QFont( "helvetica", 12 ) ); 452 setFont( QFont( "helvetica", 12 ) );
452 AppLnk::setSmallIconSize( 24 ); 453 AppLnk::setSmallIconSize( 24 );
453 AppLnk::setBigIconSize( 48 ); 454 AppLnk::setBigIconSize( 48 );
454 }else if ( dw > 400 ) { 455 }else if ( dw > 200 ) {
455 setFont( QFont( "helvetica", 12 ) ); 456 setFont( QFont( "helvetica", 12 ) );
456 AppLnk::setSmallIconSize( 16 ); 457 AppLnk::setSmallIconSize( 16 );
457 AppLnk::setBigIconSize( 32 ); 458 AppLnk::setBigIconSize( 32 );