-rw-r--r-- | kaddressbook/details/detailsviewcontainer.cpp | 3 | ||||
-rw-r--r-- | kaddressbook/details/look_html.cpp | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kaddressbook/details/detailsviewcontainer.cpp b/kaddressbook/details/detailsviewcontainer.cpp index a42499f..ceffc77 100644 --- a/kaddressbook/details/detailsviewcontainer.cpp +++ b/kaddressbook/details/detailsviewcontainer.cpp @@ -116,9 +116,6 @@ void ViewContainer::slotStyleSelected( int index ) } KABLookFactory *factory = mLookFactories.at( index ); - kdDebug(5720) << "ViewContainer::slotStyleSelected: " - << "creating look " - << factory->description() << endl; mCurrentLook = factory->create(); mDetailsStack->raiseWidget( mCurrentLook ); 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 @@ #include "look_html.h" #include <qscrollview.h> +#include "kabprefs.h" KABHtmlView::KABHtmlView( QWidget *parent, const char *name ) : KABBasicLook( parent, name ) { mView = new KPIM::AddresseeView( this ); + mView->setFont( KABPrefs::instance()->mDetailsFont ); } KABHtmlView::~KABHtmlView() @@ -37,6 +39,7 @@ KABHtmlView::~KABHtmlView() void KABHtmlView::setAddressee( const KABC::Addressee &addr ) { + mView->setFont( KABPrefs::instance()->mDetailsFont ); mView->setAddressee( addr ); } |