author | zautrix <zautrix> | 2005-07-04 06:42:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-04 06:42:00 (UTC) |
commit | 068a89b64d8ef4cb49702ed53ab4e415a0b90a80 (patch) (unidiff) | |
tree | 9c2f4b77372cfbb2c1dab2717de027d8500a905a /korganizer | |
parent | ad66f0fe56bb88104fb0065ccb599ab0edd35cf4 (diff) | |
download | kdepimpi-068a89b64d8ef4cb49702ed53ab4e415a0b90a80.zip kdepimpi-068a89b64d8ef4cb49702ed53ab4e415a0b90a80.tar.gz kdepimpi-068a89b64d8ef4cb49702ed53ab4e415a0b90a80.tar.bz2 |
fixx
-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 | |||
@@ -1136,5 +1136,5 @@ void KOAgenda::placeSubCells(KOAgendaItem *placeItem) | |||
1136 | QPtrList<KOAgendaItem> conflictItems; | 1136 | QPtrList<KOAgendaItem> conflictItems; |
1137 | int maxSubCells = 0; | 1137 | int maxSubCells = 0; |
1138 | QIntDict<KOAgendaItem> subCellDict(5); | 1138 | QIntDict<KOAgendaItem> subCellDict(7); |
1139 | 1139 | ||
1140 | KOAgendaItem *item; | 1140 | KOAgendaItem *item; |
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index a42227c..5a63b35 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -1122,10 +1122,4 @@ void KOAgendaView::fillAgenda() | |||
1122 | setHolidayMasks(); | 1122 | setHolidayMasks(); |
1123 | 1123 | ||
1124 | //mAgenda->hideUnused(); | ||
1125 | //mAllDayAgenda->hideUnused(); | ||
1126 | |||
1127 | // mAgenda->blockNextRepaint( false ); | ||
1128 | // mAgenda->viewport()->repaint(); | ||
1129 | // mAgenda->blockNextRepaint( true ); | ||
1130 | mMinY.resize(mSelectedDates.count()); | 1124 | mMinY.resize(mSelectedDates.count()); |
1131 | mMaxY.resize(mSelectedDates.count()); | 1125 | mMaxY.resize(mSelectedDates.count()); |
@@ -1148,5 +1142,5 @@ void KOAgendaView::fillAgenda() | |||
1148 | // << endl; | 1142 | // << endl; |
1149 | 1143 | ||
1150 | dayEvents = calendar()->events(currentDate,true); | 1144 | dayEvents = calendar()->events(currentDate,false); |
1151 | 1145 | ||
1152 | // Default values, which can never be reached | 1146 | // Default values, which can never be reached |
@@ -1290,7 +1284,5 @@ void KOAgendaView::fillAgenda() | |||
1290 | mAllDayAgenda->hideUnused(); | 1284 | mAllDayAgenda->hideUnused(); |
1291 | mAgenda->checkScrollBoundaries(); | 1285 | mAgenda->checkScrollBoundaries(); |
1292 | |||
1293 | deleteSelectedDateTime(); | 1286 | deleteSelectedDateTime(); |
1294 | |||
1295 | createDayLabels(); | 1287 | createDayLabels(); |
1296 | emit incidenceSelected( 0 ); | 1288 | emit incidenceSelected( 0 ); |
@@ -1301,33 +1293,14 @@ void KOAgendaView::fillAgenda() | |||
1301 | else if ( KOPrefs::instance()->mCenterOnCurrentTime ) | 1293 | else if ( KOPrefs::instance()->mCenterOnCurrentTime ) |
1302 | setStartHour( QTime::currentTime ().hour() ); | 1294 | setStartHour( QTime::currentTime ().hour() ); |
1303 | // qApp->processEvents(); | ||
1304 | } | 1295 | } |
1305 | qApp->processEvents(); | 1296 | qApp->processEvents(); |
1306 | //qDebug("qApp->processEvents(); END "); | ||
1307 | globalFlagBlockAgenda = 0; | 1297 | globalFlagBlockAgenda = 0; |
1308 | |||
1309 | // mAgenda->hideUnused(); | ||
1310 | //mAllDayAgenda->hideUnused(); | ||
1311 | mAllDayAgenda->drawContentsToPainter(); | 1298 | mAllDayAgenda->drawContentsToPainter(); |
1312 | mAgenda->drawContentsToPainter(); | 1299 | mAgenda->drawContentsToPainter(); |
1313 | repaintAgenda(); | 1300 | repaintAgenda(); |
1314 | onlyOne = false; | 1301 | onlyOne = false; |
1315 | // mAgenda->finishUpdate(); | ||
1316 | //mAllDayAgenda->finishUpdate(); | ||
1317 | |||
1318 | // repaintAgenda(); | ||
1319 | //qApp->processEvents(); | ||
1320 | // globalFlagBlockAgenda = 0; | ||
1321 | } | 1302 | } |
1322 | void KOAgendaView::repaintAgenda() | 1303 | void KOAgendaView::repaintAgenda() |
1323 | { | 1304 | { |
1324 | // mAllDayAgenda->drawContentsToPainter(); | ||
1325 | // mAllDayAgenda->viewport()->repaint( false ); | ||
1326 | // mAgenda->drawContentsToPainter(); | ||
1327 | // mAgenda->viewport()->repaint( false ); | ||
1328 | // qApp->processEvents(); | ||
1329 | |||
1330 | //qDebug("KOAgendaView::repaintAgenda() "); | ||
1331 | //qApp->processEvents(); | ||
1332 | mAgenda->viewport()->repaint( false ); | 1305 | mAgenda->viewport()->repaint( false ); |
1333 | mAllDayAgenda->viewport()->repaint( false ); | 1306 | mAllDayAgenda->viewport()->repaint( false ); |
@@ -1339,5 +1312,4 @@ void KOAgendaView::repaintAgenda() | |||
1339 | void KOAgendaView::clearView() | 1312 | void KOAgendaView::clearView() |
1340 | { | 1313 | { |
1341 | // kdDebug() << "ClearView" << endl; | ||
1342 | mAllDayAgenda->clear(); | 1314 | mAllDayAgenda->clear(); |
1343 | mAgenda->clear(); | 1315 | mAgenda->clear(); |
@@ -1345,5 +1317,4 @@ void KOAgendaView::clearView() | |||
1345 | void KOAgendaView::clearList() | 1317 | void KOAgendaView::clearList() |
1346 | { | 1318 | { |
1347 | // kdDebug() << "ClearView" << endl; | ||
1348 | clearView(); | 1319 | clearView(); |
1349 | mAllDayAgenda->hideUnused(); | 1320 | mAllDayAgenda->hideUnused(); |