Diffstat (limited to 'kaddressbook/details/look_html.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | kaddressbook/details/look_html.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kaddressbook/details/look_html.cpp b/kaddressbook/details/look_html.cpp index 63364a7..64987b8 100644 --- a/kaddressbook/details/look_html.cpp +++ b/kaddressbook/details/look_html.cpp | |||
@@ -25,10 +25,12 @@ | |||
25 | 25 | ||
26 | #include "look_html.h" | 26 | #include "look_html.h" |
27 | #include <qscrollview.h> | 27 | #include <qscrollview.h> |
28 | #include "kabprefs.h" | ||
28 | KABHtmlView::KABHtmlView( QWidget *parent, const char *name ) | 29 | KABHtmlView::KABHtmlView( QWidget *parent, const char *name ) |
29 | : KABBasicLook( parent, name ) | 30 | : KABBasicLook( parent, name ) |
30 | { | 31 | { |
31 | mView = new KPIM::AddresseeView( this ); | 32 | mView = new KPIM::AddresseeView( this ); |
33 | mView->setFont( KABPrefs::instance()->mDetailsFont ); | ||
32 | } | 34 | } |
33 | 35 | ||
34 | KABHtmlView::~KABHtmlView() | 36 | KABHtmlView::~KABHtmlView() |
@@ -37,6 +39,7 @@ KABHtmlView::~KABHtmlView() | |||
37 | 39 | ||
38 | void KABHtmlView::setAddressee( const KABC::Addressee &addr ) | 40 | void KABHtmlView::setAddressee( const KABC::Addressee &addr ) |
39 | { | 41 | { |
42 | mView->setFont( KABPrefs::instance()->mDetailsFont ); | ||
40 | mView->setAddressee( addr ); | 43 | mView->setAddressee( addr ); |
41 | } | 44 | } |
42 | 45 | ||