[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kwin/kcmkwin/kwindecoration
From: Helge Deller <deller () kde ! org>
Date: 2003-07-19 8:01:47
[Download RAW message or body]
CVS commit by deller:
no hardcoded font
M +3 -2 buttons.cpp 1.5
--- kdebase/kwin/kcmkwin/kwindecoration/buttons.cpp #1.4:1.5
@@ -17,4 +17,5 @@
#include <qpainter.h>
#include <klocale.h>
+#include <kglobalsettings.h>
#include "buttons.h"
#include "pixmaps.h"
@@ -551,5 +552,5 @@ void ButtonDropSite::drawContents( QPain
p->fillRect( r, c1 );
p->setPen( Qt::white );
- p->setFont( QFont( "helvetica", 12, QFont::Bold) );
+ p->setFont( QFont( KGlobalSettings::generalFont().family(), 12, QFont::Bold) );
p->drawText( r, AlignLeft | AlignVCenter, i18n("KDE") );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic