summaryrefslogtreecommitdiffabout
path: root/korganizer/koagenda.cpp
Side-by-side diff
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
@@ -1365,2 +1365,5 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
return;
+ if ( ! mAllDayMode ) {
+ // currently not working for
+
//qDebug("KOAgenda::drawContents ");
@@ -1401,10 +1404,5 @@ 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() )
@@ -1431,13 +1429,5 @@ void KOAgenda::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
}
- //qDebug("btbl ");
p->begin( pd );
- //qDebug("end ");
-
-
-
-
-
-
+ }
-#endif
}
@@ -1969,3 +1959,3 @@ void KOAgenda::resizeEvent ( QResizeEvent *ev )
{
-
+ mSelectionHeight = 0;
mResizeTimer.start( 150 , true );