Diffstat (limited to 'microkde/kglobalsettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kglobalsettings.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/microkde/kglobalsettings.cpp b/microkde/kglobalsettings.cpp index 2fff8fc..30e793f 100644 --- a/microkde/kglobalsettings.cpp +++ b/microkde/kglobalsettings.cpp @@ -12,3 +12,5 @@ QFont KGlobalSettings::generalFont() size = 10; - return QFont("helvetica",size); + QFont f = QApplication::font(); + f.setPointSize( size ); + return f; } @@ -16,3 +18,3 @@ QFont KGlobalSettings::toolBarFont() { - return QFont("helevetica",12); + return QApplication::font(); } @@ -21,3 +23,3 @@ QColor KGlobalSettings::toolBarHighlightColor() { - return QColor("black"); + return QColor( "black" ); } @@ -36,3 +38,3 @@ QRect KGlobalSettings::desktopGeometry( QWidget * ) bool KGlobalSettings::singleClick() -{ +{ KConfig *c = KGlobal::config(); |