-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 c782837..7cbda92 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -980,33 +980,33 @@ void QPEApplication::applyStyle() | |||
980 | 980 | ||
981 | if ( dec != d->decorationName ) { | 981 | if ( dec != d->decorationName ) { |
982 | qwsSetDecoration( new QPEDecoration( dec ) ); | 982 | qwsSetDecoration( new QPEDecoration( dec ) ); |
983 | d->decorationName = dec; | 983 | d->decorationName = dec; |
984 | } | 984 | } |
985 | 985 | ||
986 | // Font | 986 | // Font |
987 | QString ff = config.readEntry( "FontFamily", font().family() ); | 987 | QString ff = config.readEntry( "FontFamily", font().family() ); |
988 | int fs = config.readNumEntry( "FontSize", font().pointSize() ); | 988 | int fs = config.readNumEntry( "FontSize", font().pointSize() ); |
989 | 989 | ||
990 | // don't set a custom font | 990 | // don't set a custom font |
991 | if ( nostyle & 0x02 ) { | 991 | if ( nostyle & 0x02 ) { |
992 | ff = "Helvetica"; | 992 | ff = "Helvetica"; |
993 | fs = 10; | 993 | fs = 10; |
994 | } | 994 | } |
995 | 995 | ||
996 | setFont( QFont(ff, fs) ); | 996 | setFont ( QFont ( ff, fs ), true ); |
997 | 997 | ||
998 | // revert to global blocking policy ... | 998 | // revert to global blocking policy ... |
999 | opie_block_style = config. readBoolEntry ( "ForceStyle", false ) ? 0xff : 0x00; | 999 | opie_block_style = config. readBoolEntry ( "ForceStyle", false ) ? 0xff : 0x00; |
1000 | opie_block_style -= nostyle; | 1000 | opie_block_style -= nostyle; |
1001 | } | 1001 | } |
1002 | 1002 | ||
1003 | void QPEApplication::systemMessage( const QCString& msg, const QByteArray& data ) | 1003 | void QPEApplication::systemMessage( const QCString& msg, const QByteArray& data ) |
1004 | { | 1004 | { |
1005 | #ifdef Q_WS_QWS | 1005 | #ifdef Q_WS_QWS |
1006 | QDataStream stream( data, IO_ReadOnly ); | 1006 | QDataStream stream( data, IO_ReadOnly ); |
1007 | if ( msg == "applyStyle()" ) { | 1007 | if ( msg == "applyStyle()" ) { |
1008 | applyStyle(); | 1008 | applyStyle(); |
1009 | } | 1009 | } |
1010 | else if ( msg == "setDefaultRotation(int)" ) { | 1010 | else if ( msg == "setDefaultRotation(int)" ) { |
1011 | if ( type() == GuiServer ) { | 1011 | if ( type() == GuiServer ) { |
1012 | int r; | 1012 | int r; |