From 4efb020e137fbb8b94d845a2aa0ffc894561aea9 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 27 Oct 2004 01:07:05 +0000 Subject: fixed wn view --- (limited to 'korganizer/kowhatsnextview.cpp') diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp index 59b864c..0f0bf11 100644 --- a/korganizer/kowhatsnextview.cpp +++ b/korganizer/kowhatsnextview.cpp @@ -70,11 +70,18 @@ KOWhatsNextView::KOWhatsNextView(Calendar *calendar, QWidget *parent, connect(mView,SIGNAL(showIncidence(const QString &)),SLOT(showIncidence(const QString &))); QStyleSheet* stsh = mView->styleSheet(); QStyleSheetItem * style ; - + style = stsh->item ("a" ); + if ( style ) { + style->setMargin(QStyleSheetItem::MarginAll,0); + } style = stsh->item ("h2" ); if ( style ) { style->setMargin(QStyleSheetItem::MarginAll,0); } + style = stsh->item ("h3" ); + if ( style ) { + style->setMargin(QStyleSheetItem::MarginAll,0); + } style = stsh->item ("table" ); if ( style ) { style->setMargin(QStyleSheetItem::MarginAll,0); @@ -264,7 +271,7 @@ void KOWhatsNextView::updateView() mText +="

"; #endif - mText +="" + i18n("Incomplete Todo:") + "\n"; + mText +="

" + i18n("Incomplete Todo:") + "

\n"; mText += "