-rw-r--r-- | library/qpeapplication.cpp | 3 |
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 ) d->loadTextCodecs(); d->loadImageCodecs(); int dw = desktop() ->width(); + qWarning( "Width %d", dw ); if ( dw < 200 ) { setFont( QFont( "helvetica", 8 ) ); AppLnk::setSmallIconSize( 10 ); @@ -451,7 +452,7 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t ) setFont( QFont( "helvetica", 12 ) ); AppLnk::setSmallIconSize( 24 ); AppLnk::setBigIconSize( 48 ); - }else if ( dw > 400 ) { + }else if ( dw > 200 ) { setFont( QFont( "helvetica", 12 ) ); AppLnk::setSmallIconSize( 16 ); AppLnk::setBigIconSize( 32 ); |