author | zautrix <zautrix> | 2004-10-05 12:28:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-05 12:28:46 (UTC) |
commit | 6406e08703d51eae5fad7cf11618c502831b692b (patch) (unidiff) | |
tree | ff867dd573a9359cfba6c08663e3ee78ca6c0844 | |
parent | 4c877944b4e7bb7f74b4c8db07a99fd8133e8b86 (diff) | |
download | kdepimpi-6406e08703d51eae5fad7cf11618c502831b692b.zip kdepimpi-6406e08703d51eae5fad7cf11618c502831b692b.tar.gz kdepimpi-6406e08703d51eae5fad7cf11618c502831b692b.tar.bz2 |
bugfix show last sync events
-rw-r--r-- | korganizer/koagendaview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 77a3164..947bb66 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -1005,17 +1005,17 @@ void KOAgendaView::fillAgenda() | |||
1005 | 1005 | ||
1006 | // Default values, which can never be reached | 1006 | // Default values, which can never be reached |
1007 | mMinY[curCol] = mAgenda->timeToY(QTime(23,59)) + 1; | 1007 | mMinY[curCol] = mAgenda->timeToY(QTime(23,59)) + 1; |
1008 | mMaxY[curCol] = mAgenda->timeToY(QTime(0,0)) - 1; | 1008 | mMaxY[curCol] = mAgenda->timeToY(QTime(0,0)) - 1; |
1009 | 1009 | ||
1010 | unsigned int numEvent; | 1010 | unsigned int numEvent; |
1011 | for(numEvent=0;numEvent<dayEvents.count();++numEvent) { | 1011 | for(numEvent=0;numEvent<dayEvents.count();++numEvent) { |
1012 | Event *event = dayEvents.at(numEvent); | 1012 | Event *event = dayEvents.at(numEvent); |
1013 | if ( !KOPrefs::instance()->mShowSyncEvents && event->uid().left(21) == QString("last-syncEvent-device") ) | 1013 | if ( !KOPrefs::instance()->mShowSyncEvents && event->uid().left(15) == QString("last-syncEvent-") ) |
1014 | continue; | 1014 | continue; |
1015 | // kdDebug() << " Event: " << event->summary() << endl; | 1015 | // kdDebug() << " Event: " << event->summary() << endl; |
1016 | 1016 | ||
1017 | int beginX = currentDate.daysTo(event->dtStart().date()) + curCol; | 1017 | int beginX = currentDate.daysTo(event->dtStart().date()) + curCol; |
1018 | int endX = currentDate.daysTo(event->dtEnd().date()) + curCol; | 1018 | int endX = currentDate.daysTo(event->dtEnd().date()) + curCol; |
1019 | 1019 | ||
1020 | // kdDebug() << " beginX: " << beginX << " endX: " << endX << endl; | 1020 | // kdDebug() << " beginX: " << beginX << " endX: " << endX << endl; |
1021 | 1021 | ||