[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kontactinterfaces
From: Allen Winter <winter () kde ! org>
Date: 2008-05-29 0:12:17
Message-ID: 1212019937.314259.13562.nullmailer () svn ! kde ! org
[Download RAW message or body]
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 <QImage>
-#include <khbox.h>
#include <QFont>
#include <QLabel>
#include <QPainter>
@@ -32,8 +31,10 @@
#include <QDragEnterEvent>
#include <QDropEvent>
-#include <kiconloader.h>
-#include <kdialog.h>
+#include <KGlobalSettings>
+#include <KHBox>
+#include <KIconLoader>
+#include <KDialog>
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 );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic