summaryrefslogtreecommitdiffabout
path: root/kmicromail/viewmail.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/viewmail.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/viewmail.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmicromail/viewmail.cpp b/kmicromail/viewmail.cpp
index 67b77f8..6e560d7 100644
--- a/kmicromail/viewmail.cpp
+++ b/kmicromail/viewmail.cpp
@@ -17,3 +17,2 @@
-#include <qpe/config.h>
#include <qpe/qpeapplication.h>
@@ -28,2 +27,3 @@
#include <qlayout.h>
+#include "koprefs.h"
@@ -328,5 +328,5 @@ void ViewMail::readConfig()
{
- Config cfg( "mail" );
- cfg.setGroup( "Settings" );
- m_showHtml = cfg.readBoolEntry( "showHtml", false );
+
+ setFont ( KOPrefs::instance()->mReadFont );
+ m_showHtml = KOPrefs::instance()->mViewAsHtml;
showHtml->setOn( m_showHtml );
@@ -364,3 +364,3 @@ void ViewMail::setText()
"<b>" + tr( "Date" ) + ": </b> " + m_mail[3] +
- "</td></tr></table><font face=fixed>";
+ "</td></tr></table><font>";