author | sandman <sandman> | 2002-10-13 22:05:30 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-13 22:05:30 (UTC) |
commit | c94a9c3a93907d8a0c034e5b4c6d0a768d9fea7c (patch) (unidiff) | |
tree | 0b4610958aa515bd4b8aa87b070514d5a860dd3a | |
parent | 49269558da49b0429e4b13f4ed8ac2b3ac4f3513 (diff) | |
download | opie-c94a9c3a93907d8a0c034e5b4c6d0a768d9fea7c.zip opie-c94a9c3a93907d8a0c034e5b4c6d0a768d9fea7c.tar.gz opie-c94a9c3a93907d8a0c034e5b4c6d0a768d9fea7c.tar.bz2 |
default font size should be 10pt .. 12pt is too big for 320x240
-rw-r--r-- | library/qpeapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 2432b65..65fac84 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -468,25 +468,25 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t ) | |||
468 | qWarning( "Width %d", dw ); | 468 | qWarning( "Width %d", dw ); |
469 | if ( dw < 200 ) { | 469 | if ( dw < 200 ) { |
470 | setFont( QFont( "helvetica", 8 ) ); | 470 | setFont( QFont( "helvetica", 8 ) ); |
471 | AppLnk::setSmallIconSize( 10 ); | 471 | AppLnk::setSmallIconSize( 10 ); |
472 | AppLnk::setBigIconSize( 28 ); | 472 | AppLnk::setBigIconSize( 28 ); |
473 | } | 473 | } |
474 | else if ( dw > 600 ) { | 474 | else if ( dw > 600 ) { |
475 | setFont( QFont( "helvetica", 12 ) ); | 475 | setFont( QFont( "helvetica", 12 ) ); |
476 | AppLnk::setSmallIconSize( 24 ); | 476 | AppLnk::setSmallIconSize( 24 ); |
477 | AppLnk::setBigIconSize( 48 ); | 477 | AppLnk::setBigIconSize( 48 ); |
478 | } | 478 | } |
479 | else if ( dw > 200 ) { | 479 | else if ( dw > 200 ) { |
480 | setFont( QFont( "helvetica", 12 ) ); | 480 | setFont( QFont( "helvetica", 10 ) ); |
481 | AppLnk::setSmallIconSize( 16 ); | 481 | AppLnk::setSmallIconSize( 16 ); |
482 | AppLnk::setBigIconSize( 32 ); | 482 | AppLnk::setBigIconSize( 32 ); |
483 | } | 483 | } |
484 | 484 | ||
485 | 485 | ||
486 | QMimeSourceFactory::setDefaultFactory( new ResourceMimeFactory ); | 486 | QMimeSourceFactory::setDefaultFactory( new ResourceMimeFactory ); |
487 | 487 | ||
488 | connect( this, SIGNAL( lastWindowClosed() ), this, SLOT( hideOrQuit() ) ); | 488 | connect( this, SIGNAL( lastWindowClosed() ), this, SLOT( hideOrQuit() ) ); |
489 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 489 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) |
490 | 490 | ||
491 | QString qcopfn( "/tmp/qcop-msg-" ); | 491 | QString qcopfn( "/tmp/qcop-msg-" ); |
492 | qcopfn += QString( argv[ 0 ] ); // append command name | 492 | qcopfn += QString( argv[ 0 ] ); // append command name |