-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 | |||
@@ -169,6 +169,9 @@ void KOJournalView::showOnly ( Journal* j ) | |||
169 | } | 169 | } |
170 | void KOJournalView::showList(QPtrList<Journal> jl) | 170 | void KOJournalView::showList(QPtrList<Journal> jl) |
171 | { | 171 | { |
172 | static bool ff = false; | ||
173 | if ( ff ) return; | ||
174 | ff = true; | ||
172 | //qDebug("KOJournalView::showList %d",jl.count() ); | 175 | //qDebug("KOJournalView::showList %d",jl.count() ); |
173 | JournalEntry* mEntry = jEntries.first(); | 176 | JournalEntry* mEntry = jEntries.first(); |
174 | JournalEntry* firstEntry = mEntry; | 177 | JournalEntry* firstEntry = mEntry; |
@@ -206,6 +209,7 @@ void KOJournalView::showList(QPtrList<Journal> jl) | |||
206 | } | 209 | } |
207 | mEntry = jEntries.next(); | 210 | mEntry = jEntries.next(); |
208 | } | 211 | } |
212 | ff = false; | ||
209 | } | 213 | } |
210 | 214 | ||
211 | void KOJournalView::showDates(const QDate &start, const QDate &) | 215 | void KOJournalView::showDates(const QDate &start, const QDate &) |