From eba90f900bbbc85ee1ece6e43367ee0e14e64803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 25 Sep 2008 03:09:24 +0000 Subject: [PATCH] Less random size for the extender's title ;) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864554 --- extenderitem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extenderitem.cpp b/extenderitem.cpp index 034a56e67..2f8a1a7f9 100644 --- a/extenderitem.cpp +++ b/extenderitem.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include "applet.h" #include "containment.h" @@ -649,7 +650,7 @@ void ExtenderItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti //draw the title. Plasma::Theme *theme = Plasma::Theme::defaultTheme(); QFont font = theme->font(Plasma::Theme::DefaultFont); - font.setPointSize(font.pointSize() - 2); + font.setPointSize(KGlobalSettings::smallestReadableFont().pointSize()); font.setWeight(QFont::Bold); //XXX: duplicated from windowtaskitem.