-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 6e6a939..bc16037 100644 --- a/korganizer/kojournalview.cpp +++ b/korganizer/kojournalview.cpp | |||
@@ -69,24 +69,28 @@ void KOJournalView::updateConfig() | |||
69 | mEntry->setFont ( KOPrefs::instance()->mJornalViewFont ); | 69 | mEntry->setFont ( KOPrefs::instance()->mJornalViewFont ); |
70 | } | 70 | } |
71 | void KOJournalView::updateView() | 71 | void KOJournalView::updateView() |
72 | { | 72 | { |
73 | mEntry->setFont ( KOPrefs::instance()->mJornalViewFont ); | 73 | mEntry->setFont ( KOPrefs::instance()->mJornalViewFont ); |
74 | } | 74 | } |
75 | 75 | ||
76 | void KOJournalView::flushView() | 76 | void KOJournalView::flushView() |
77 | { | 77 | { |
78 | mEntry->flushEntry(); | 78 | mEntry->flushEntry(); |
79 | } | 79 | } |
80 | 80 | ||
81 | void KOJournalView::clearList() | ||
82 | { | ||
83 | mEntry->clear(); | ||
84 | } | ||
81 | void KOJournalView::showDates(const QDate &start, const QDate &) | 85 | void KOJournalView::showDates(const QDate &start, const QDate &) |
82 | { | 86 | { |
83 | // kdDebug() << "KOJournalView::selectDates()" << endl; | 87 | // kdDebug() << "KOJournalView::selectDates()" << endl; |
84 | 88 | ||
85 | mEntry->setDate(start); | 89 | mEntry->setDate(start); |
86 | 90 | ||
87 | Journal *j = calendar()->journal(start); | 91 | Journal *j = calendar()->journal(start); |
88 | if (j) mEntry->setJournal(j); | 92 | if (j) mEntry->setJournal(j); |
89 | else mEntry->clear(); | 93 | else mEntry->clear(); |
90 | 94 | ||
91 | // emit incidenceSelected( 0 ); | 95 | // emit incidenceSelected( 0 ); |
92 | } | 96 | } |