author | zautrix <zautrix> | 2005-07-04 15:52:09 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-04 15:52:09 (UTC) |
commit | 226171366bc79927988eac10e0bf7fc3f7faea69 (patch) (side-by-side diff) | |
tree | fc2aef43c88d35bb4b59002bdfa25f7c45094f91 /korganizer/kojournalview.cpp | |
parent | 7221ff029af217ae703e8217333bd9b170203181 (diff) | |
download | kdepimpi-226171366bc79927988eac10e0bf7fc3f7faea69.zip kdepimpi-226171366bc79927988eac10e0bf7fc3f7faea69.tar.gz kdepimpi-226171366bc79927988eac10e0bf7fc3f7faea69.tar.bz2 |
fixx
Diffstat (limited to 'korganizer/kojournalview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kojournalview.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
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<Journal> 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<Journal> 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(); |