author | zautrix <zautrix> | 2005-04-09 16:49:42 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-09 16:49:42 (UTC) |
commit | d1982b1423417eb59c275bb09d4e3012a67ca086 (patch) (side-by-side diff) | |
tree | f170a17f3d04e9d11d450233ea2d55f5803760fb /korganizer/koagenda.cpp | |
parent | 329ecb2c6b4153c51415513a28f2dc0576f4ddca (diff) | |
download | kdepimpi-d1982b1423417eb59c275bb09d4e3012a67ca086.zip kdepimpi-d1982b1423417eb59c275bb09d4e3012a67ca086.tar.gz kdepimpi-d1982b1423417eb59c275bb09d4e3012a67ca086.tar.bz2 |
nf
-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(); |