-rw-r--r-- | korganizer/kojournalview.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp index 0523954..a23a3b2 100644 --- a/korganizer/kojournalview.cpp +++ b/korganizer/kojournalview.cpp @@ -166,12 +166,15 @@ void KOJournalView::showOnly ( Journal* j ) showList( jl ); JournalEntry* mEntry = jEntries.first(); mEntry->setShowOnly(); } void KOJournalView::showList(QPtrList<Journal> jl) { + static bool ff = false; + if ( ff ) return; + ff = true; //qDebug("KOJournalView::showList %d",jl.count() ); JournalEntry* mEntry = jEntries.first(); JournalEntry* firstEntry = mEntry; int count = jl.count(); int iii = 0; while ( iii < count ) { @@ -203,12 +206,13 @@ void KOJournalView::showList(QPtrList<Journal> jl) else { mEntry->setVisibleMode( true ); mEntry->show(); } mEntry = jEntries.next(); } + ff = false; } void KOJournalView::showDates(const QDate &start, const QDate &) { mDate = start; mDateLabel->setText(KGlobal::locale()->formatDate(mDate)); |