From kde-commits Thu May 29 00:12:17 2008 From: Allen Winter Date: Thu, 29 May 2008 00:12:17 +0000 To: kde-commits Subject: KDE/kdepim/kontactinterfaces Message-Id: <1212019937.314259.13562.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121201994819930 SVN commit 813972 by winterz: set the font to the user's general font from the global system settings. and then add a couple of points to the size M +5 -4 summary.cpp --- trunk/KDE/kdepim/kontactinterfaces/summary.cpp #813971:813972 @@ -23,7 +23,6 @@ #include "summary.h" #include -#include #include #include #include @@ -32,8 +31,10 @@ #include #include -#include -#include +#include +#include +#include +#include using namespace Kontact; @@ -86,7 +87,7 @@ hbox->setForegroundRole( QPalette::WindowText ); hbox->setAutoFillBackground( true ); - QFont boldFont; + QFont boldFont = KGlobalSettings::generalFont(); boldFont.setBold( true ); boldFont.setPointSize( boldFont.pointSize() + 2 );