author | zautrix <zautrix> | 2005-04-08 13:58:07 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-08 13:58:07 (UTC) |
commit | c0f1d38e29ee0d0a1d1dcb5bda08089923926b41 (patch) (unidiff) | |
tree | a235fdef5d4b8b519bfd8141247993ba778b39b2 /korganizer | |
parent | 19a95939a6469ab5469f6904f57263a792598f07 (diff) | |
download | kdepimpi-c0f1d38e29ee0d0a1d1dcb5bda08089923926b41.zip kdepimpi-c0f1d38e29ee0d0a1d1dcb5bda08089923926b41.tar.gz kdepimpi-c0f1d38e29ee0d0a1d1dcb5bda08089923926b41.tar.bz2 |
fix
-rw-r--r-- | korganizer/koagendaview.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 20a5b74..76d5c4b 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -952,8 +952,15 @@ void KOAgendaView::updateConfig() | |||
952 | 952 | ||
953 | void KOAgendaView::updateEventDates(KOAgendaItem *item, int type) | 953 | void KOAgendaView::updateEventDates(KOAgendaItem *item, int type) |
954 | { | 954 | { |
955 | // kdDebug() << "KOAgendaView::updateEventDates(): " << item->text() << endl; | 955 | |
956 | //qDebug("KOAgendaView::updateEventDates "); | 956 | |
957 | int xxx = item->cellX(); | ||
958 | //qDebug("KOAgendaView::updateEventDates %d %d %d %d %d", xxx, mMinY.at(xxx),mMaxY.at(xxx),item->cellYTop(),item->cellYBottom() ); | ||
959 | if ( mMinY.at(xxx) > item->cellYTop() ) | ||
960 | mMinY.at(xxx) = item->cellYTop(); | ||
961 | if ( mMaxY.at(xxx) < item->cellYBottom() ) | ||
962 | mMaxY.at(xxx) = item->cellYBottom(); | ||
963 | |||
957 | QDateTime startDt,endDt; | 964 | QDateTime startDt,endDt; |
958 | QDate startDate; | 965 | QDate startDate; |
959 | int lenInSecs; | 966 | int lenInSecs; |