summaryrefslogtreecommitdiffabout
path: root/korganizer/kojournalview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kojournalview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kojournalview.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp
index ff87ef4..cb9a2c0 100644
--- a/korganizer/kojournalview.cpp
+++ b/korganizer/kojournalview.cpp
@@ -61,3 +61,3 @@ KOJournalView::KOJournalView(Calendar *calendar, QWidget *parent,
QPushButton * newJournal = new QPushButton( vb );
- QIconSet icon;
+ QPixmap icon;
if ( QApplication::desktop()->width() < 321 )
@@ -66,3 +66,3 @@ KOJournalView::KOJournalView(Calendar *calendar, QWidget *parent,
icon = SmallIcon("ko24old");
- newJournal->setIconSet (icon ) ;
+ newJournal->setPixmap (icon ) ;
int size = newJournal->sizeHint().height();
@@ -140,2 +140,3 @@ void KOJournalView::newJournal()
{
+ flushView();
Journal* mJournal = new Journal;
@@ -148,2 +149,3 @@ void KOJournalView::showOnly ( Journal* j )
{
+ flushView();
if ( j == 0 ) {