From 226171366bc79927988eac10e0bf7fc3f7faea69 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 04 Jul 2005 15:52:09 +0000 Subject: fixx --- (limited to 'korganizer/kojournalview.cpp') diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp index 9b0e748..0523954 100644 --- a/korganizer/kojournalview.cpp +++ b/korganizer/kojournalview.cpp @@ -155,7 +155,7 @@ void KOJournalView::newJournal() void KOJournalView::showOnly ( Journal* j ) { - qDebug("showOnly %x ", j); + //qDebug("showOnly %x ", j); flushView(); if ( j == 0 ) { showDates( mDate, QDate() ); @@ -169,7 +169,7 @@ void KOJournalView::showOnly ( Journal* j ) } void KOJournalView::showList(QPtrList jl) { - qDebug("KOJournalView::showList %d",jl.count() ); + //qDebug("KOJournalView::showList %d",jl.count() ); JournalEntry* mEntry = jEntries.first(); JournalEntry* firstEntry = mEntry; int count = jl.count(); @@ -177,14 +177,16 @@ void KOJournalView::showList(QPtrList jl) while ( iii < count ) { if ( !mEntry ) { mEntry = getNewEntry(); + mEntry->setVisibleMode( true ); mEntry->setDate(mDate); - mEntry->setJournal(jl.at(iii)); + mEntry->setJournal(jl.at(iii), false); mEntry->setVisibleMode( true ); mEntry->show(); mEntry = 0; } else { + mEntry->setVisibleMode( true ); mEntry->setDate(mDate); - mEntry->setJournal(jl.at(iii)); + mEntry->setJournal(jl.at(iii), false); mEntry->setVisibleMode( true ); mEntry->show(); mEntry = jEntries.next(); -- cgit v0.9.0.2