-rw-r--r-- | kmicromail/viewmail.cpp | 10 |
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 @@ | |||
17 | 17 | ||
18 | #include <qpe/config.h> | ||
19 | #include <qpe/qpeapplication.h> | 18 | #include <qpe/qpeapplication.h> |
@@ -28,2 +27,3 @@ | |||
28 | #include <qlayout.h> | 27 | #include <qlayout.h> |
28 | #include "koprefs.h" | ||
29 | 29 | ||
@@ -328,5 +328,5 @@ void ViewMail::readConfig() | |||
328 | { | 328 | { |
329 | Config cfg( "mail" ); | 329 | |
330 | cfg.setGroup( "Settings" ); | 330 | setFont ( KOPrefs::instance()->mReadFont ); |
331 | m_showHtml = cfg.readBoolEntry( "showHtml", false ); | 331 | m_showHtml = KOPrefs::instance()->mViewAsHtml; |
332 | showHtml->setOn( m_showHtml ); | 332 | showHtml->setOn( m_showHtml ); |
@@ -364,3 +364,3 @@ void ViewMail::setText() | |||
364 | "<b>" + tr( "Date" ) + ": </b> " + m_mail[3] + | 364 | "<b>" + tr( "Date" ) + ": </b> " + m_mail[3] + |
365 | "</td></tr></table><font face=fixed>"; | 365 | "</td></tr></table><font>"; |
366 | 366 | ||