-rw-r--r-- | korganizer/koagenda.cpp | 2 | ||||
-rw-r--r-- | korganizer/koagendaview.cpp | 31 |
2 files changed, 2 insertions, 31 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp index f860f7d..94c3b22 100644 --- a/korganizer/koagenda.cpp +++ b/korganizer/koagenda.cpp @@ -1137,3 +1137,3 @@ void KOAgenda::placeSubCells(KOAgendaItem *placeItem) int maxSubCells = 0; - QIntDict<KOAgendaItem> subCellDict(5); + QIntDict<KOAgendaItem> subCellDict(7); diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index a42227c..5a63b35 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -1123,8 +1123,2 @@ void KOAgendaView::fillAgenda() - //mAgenda->hideUnused(); - //mAllDayAgenda->hideUnused(); - - // mAgenda->blockNextRepaint( false ); - // mAgenda->viewport()->repaint(); - // mAgenda->blockNextRepaint( true ); mMinY.resize(mSelectedDates.count()); @@ -1149,3 +1143,3 @@ void KOAgendaView::fillAgenda() - dayEvents = calendar()->events(currentDate,true); + dayEvents = calendar()->events(currentDate,false); @@ -1291,5 +1285,3 @@ void KOAgendaView::fillAgenda() mAgenda->checkScrollBoundaries(); - deleteSelectedDateTime(); - createDayLabels(); @@ -1302,10 +1294,5 @@ void KOAgendaView::fillAgenda() setStartHour( QTime::currentTime ().hour() ); - // qApp->processEvents(); } qApp->processEvents(); - //qDebug("qApp->processEvents(); END "); globalFlagBlockAgenda = 0; - - // mAgenda->hideUnused(); - //mAllDayAgenda->hideUnused(); mAllDayAgenda->drawContentsToPainter(); @@ -1314,8 +1301,2 @@ void KOAgendaView::fillAgenda() onlyOne = false; - // mAgenda->finishUpdate(); - //mAllDayAgenda->finishUpdate(); - - // repaintAgenda(); - //qApp->processEvents(); - // globalFlagBlockAgenda = 0; } @@ -1323,10 +1304,2 @@ void KOAgendaView::repaintAgenda() { - // mAllDayAgenda->drawContentsToPainter(); -// mAllDayAgenda->viewport()->repaint( false ); -// mAgenda->drawContentsToPainter(); -// mAgenda->viewport()->repaint( false ); -// qApp->processEvents(); - - //qDebug("KOAgendaView::repaintAgenda() "); - //qApp->processEvents(); mAgenda->viewport()->repaint( false ); @@ -1340,3 +1313,2 @@ void KOAgendaView::clearView() { - // kdDebug() << "ClearView" << endl; mAllDayAgenda->clear(); @@ -1346,3 +1318,2 @@ void KOAgendaView::clearList() { - // kdDebug() << "ClearView" << endl; clearView(); |