-rw-r--r-- | korganizer/koagenda.cpp | 22 |
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) if ( globalFlagBlockAgenda ) return; + if ( ! mAllDayMode ) { + // currently not working for + //qDebug("KOAgenda::drawContents "); if ( mCurPixWid != contentsWidth() || mCurPixHei != contentsHeight() ) @@ -1400,12 +1403,7 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch) } } - //qDebug("btbl "); p->begin( pd ); - //qDebug("end "); -#if 0 + } else { - if ( globalFlagBlockAgenda ) - return; - //qDebug("KOAgenda::drawContents "); if ( mCurPixWid != contentsWidth() || mCurPixHei != contentsHeight() ) ;//drawContentsToPainter(); @@ -1430,15 +1428,7 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch) } } - //qDebug("btbl "); p->begin( pd ); - //qDebug("end "); - - - - - - + } -#endif } @@ -1968,5 +1958,5 @@ void KOAgenda::finishResize ( ) void KOAgenda::resizeEvent ( QResizeEvent *ev ) { - + mSelectionHeight = 0; mResizeTimer.start( 150 , true ); computeSizes(); |