summaryrefslogtreecommitdiffabout
path: root/kmicromail/main.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp
index db29ff3..5362f08 100644
--- a/kmicromail/main.cpp
+++ b/kmicromail/main.cpp
@@ -17,8 +17,9 @@
#include <kstandarddirs.h>
#include <kglobal.h>
#include <stdio.h>
#include "mainwindow.h"
+#include "koprefs.h"
//using namespace Opie::Core;
int main( int argc, char **argv ) {
@@ -28,9 +29,9 @@ int main( int argc, char **argv ) {
#else
QApplication a( argc, argv );
QApplication::setStyle( new QPlatinumStyle ());
#endif
-
+ a.setFont( KOPrefs::instance()->mAppFont );
KGlobal::setAppName( "kopiemail" );
QString fileName ;
#ifndef DESKTOP_VERSION
fileName = getenv("QPEDIR");