summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-04-26 15:26:36 (UTC)
committer kergoth <kergoth>2003-04-26 15:26:36 (UTC)
commite434f5a8dacef2d86b37d44b9ba7ffa713abaae7 (patch) (side-by-side diff)
tree7053cd94210f6410b247cac42bb1c0c895a3a09d
parentdd4f6b36681a28f785cf0923b0f9fc58ebe9a3bf (diff)
downloadopie-e434f5a8dacef2d86b37d44b9ba7ffa713abaae7.zip
opie-e434f5a8dacef2d86b37d44b9ba7ffa713abaae7.tar.gz
opie-e434f5a8dacef2d86b37d44b9ba7ffa713abaae7.tar.bz2
Change default font for large screen sizes to vera/16 rather than vera/18.
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 f4bfda9..e5da48c 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -502,49 +502,49 @@ static void setTreble( int t = 0, int percent = -1 )
and emitted as signals, such as flush() and reload().
*/
/*!
Constructs a QPEApplication just as you would construct
a QApplication, passing \a argc, \a argv, and \a t.
For applications, \a t should be the default, GuiClient. Only
the Qtopia server passes GuiServer.
*/
QPEApplication::QPEApplication( int & argc, char **argv, Type t )
: QApplication( argc, argv, t )
{
d = new QPEApplicationData;
d->loadTextCodecs();
d->loadImageCodecs();
int dw = desktop() ->width();
if ( dw < 200 ) {
setFont( QFont( "vera", 8 ) );
AppLnk::setSmallIconSize( 10 );
AppLnk::setBigIconSize( 28 );
}
else if ( dw > 600 ) {
- setFont( QFont( "vera", 18 ) );
+ setFont( QFont( "vera", 16 ) );
AppLnk::setSmallIconSize( 24 );
AppLnk::setBigIconSize( 48 );
}
else if ( dw > 200 ) {
setFont( QFont( "vera", 10 ) );
AppLnk::setSmallIconSize( 14 );
AppLnk::setBigIconSize( 32 );
}
QMimeSourceFactory::setDefaultFactory( new ResourceMimeFactory );
connect( this, SIGNAL( lastWindowClosed() ), this, SLOT( hideOrQuit() ) );
#if defined(Q_WS_QWS) && !defined(QT_NO_COP)
QString qcopfn( "/tmp/qcop-msg-" );
qcopfn += QString( argv[ 0 ] ); // append command name
QFile f( qcopfn );
if ( f.open( IO_ReadOnly ) ) {
flock( f.handle(), LOCK_EX );
}
sysChannel = new QCopChannel( "QPE/System", this );