-rw-r--r-- | korganizer/kojournalview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp index 0523954..a23a3b2 100644 --- a/korganizer/kojournalview.cpp +++ b/korganizer/kojournalview.cpp @@ -167,9 +167,12 @@ void KOJournalView::showOnly ( Journal* j ) 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(); @@ -205,8 +208,9 @@ void KOJournalView::showList(QPtrList<Journal> jl) mEntry->show(); } mEntry = jEntries.next(); } + ff = false; } void KOJournalView::showDates(const QDate &start, const QDate &) { |