-rw-r--r-- | korganizer/kodaymatrix.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 120bc89..a2e0ae0 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -414,7 +414,8 @@ void KODayMatrix::updateView(QDate actdate) } else { #ifdef DESKTOP_VERSION //mRepaintTimer->start( 100 ); - mUpdateTimer->start( 100 ); + //updateViewTimed(); + mUpdateTimer->start( 20 ); #else mRepaintTimer->start( 350 ); mUpdateTimer->start( 1200 ); @@ -843,8 +844,8 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent) if ( col >= 7 - colModulo ) addCol = col - 6 + colModulo-1; } - if ( col == 0 ) - addCol = 1; + + addCol += 1; p.drawRect(col*dwidth+addCol, row*dheight+addRow, dwidth, dheight+1); p.setPen(tmppen); } |