summaryrefslogtreecommitdiffabout
path: root/korganizer/koagenda.cpp
Unidiff
Diffstat (limited to 'korganizer/koagenda.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagenda.cpp22
1 files changed, 6 insertions, 16 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index 148d914..18c506e 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -1364,4 +1364,7 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
1364 if ( globalFlagBlockAgenda ) 1364 if ( globalFlagBlockAgenda )
1365 return; 1365 return;
1366 if ( ! mAllDayMode ) {
1367 // currently not working for
1368
1366 //qDebug("KOAgenda::drawContents "); 1369 //qDebug("KOAgenda::drawContents ");
1367 if ( mCurPixWid != contentsWidth() || mCurPixHei != contentsHeight() ) 1370 if ( mCurPixWid != contentsWidth() || mCurPixHei != contentsHeight() )
@@ -1400,12 +1403,7 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
1400 } 1403 }
1401 } 1404 }
1402 //qDebug("btbl ");
1403 p->begin( pd ); 1405 p->begin( pd );
1404 //qDebug("end "); 1406 } else {
1405#if 0
1406 1407
1407 if ( globalFlagBlockAgenda )
1408 return;
1409 //qDebug("KOAgenda::drawContents ");
1410 if ( mCurPixWid != contentsWidth() || mCurPixHei != contentsHeight() ) 1408 if ( mCurPixWid != contentsWidth() || mCurPixHei != contentsHeight() )
1411 ;//drawContentsToPainter(); 1409 ;//drawContentsToPainter();
@@ -1430,15 +1428,7 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
1430 } 1428 }
1431 } 1429 }
1432 //qDebug("btbl ");
1433 p->begin( pd ); 1430 p->begin( pd );
1434 //qDebug("end "); 1431 }
1435
1436
1437
1438
1439
1440
1441 1432
1442#endif
1443} 1433}
1444 1434
@@ -1968,5 +1958,5 @@ void KOAgenda::finishResize ( )
1968void KOAgenda::resizeEvent ( QResizeEvent *ev ) 1958void KOAgenda::resizeEvent ( QResizeEvent *ev )
1969{ 1959{
1970 1960 mSelectionHeight = 0;
1971 mResizeTimer.start( 150 , true ); 1961 mResizeTimer.start( 150 , true );
1972 computeSizes(); 1962 computeSizes();