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 @@ -11,14 +11,16 @@ QFont KGlobalSettings::generalFont() if (QApplication::desktop()->width() < 480 ) size = 10; - return QFont("helvetica",size); + QFont f = QApplication::font(); + f.setPointSize( size ); + return f; } QFont KGlobalSettings::toolBarFont() { - return QFont("helevetica",12); + return QApplication::font(); } QColor KGlobalSettings::toolBarHighlightColor() { - return QColor("black"); + return QColor( "black" ); } @@ -35,5 +37,5 @@ QRect KGlobalSettings::desktopGeometry( QWidget * ) **/ bool KGlobalSettings::singleClick() -{ +{ KConfig *c = KGlobal::config(); KConfigGroupSaver cgs( c, "KDE" ); |