-rw-r--r-- | korganizer/kodaymatrix.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 30efbf6..3468657 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -935,8 +935,8 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent) // draw background and topleft frame p.fillRect(0,0,width(),height(), mDefaultBackColor); - p.setPen(mDefaultTextColor); - p.drawRect(0, 0, width(), height()); + //p.setPen(mDefaultTextColor); + //p.drawRect(0, 0, width(), height()); int mSelStartT = mSelStart; int mSelEndT = mSelEnd; if ( mSelEndT >= NUMDAYS ) @@ -1172,6 +1172,8 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent) p.setFont(myFont); } } + p.setPen(mDefaultTextColor); + p.drawRect(0, 0, width(), height()); } else { //qDebug("NO redraw "); } |