author | zautrix <zautrix> | 2005-03-21 14:24:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-21 14:24:44 (UTC) |
commit | 3bd97904e69bf586122ad82d279c37db0861eefb (patch) (side-by-side diff) | |
tree | 34630b2d02421a61f7664226aee60a4ce76fa2ab /korganizer/kdatenavigator.cpp | |
parent | 41f264fea6caaf9ca0f8b34509a07157c210f851 (diff) | |
download | kdepimpi-3bd97904e69bf586122ad82d279c37db0861eefb.zip kdepimpi-3bd97904e69bf586122ad82d279c37db0861eefb.tar.gz kdepimpi-3bd97904e69bf586122ad82d279c37db0861eefb.tar.bz2 |
repaint fixes
Diffstat (limited to 'korganizer/kdatenavigator.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kdatenavigator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index 2321acb..fe83e09 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp @@ -186,25 +186,25 @@ void KDateNavigator::setBaseDate( const QDate &date , bool doRepaint ) // = true { m_MthYr = date; updateDates(); updateView(); KCal::DateList dates; dates.append( date ); mNavigatorBar->selectDates( dates ); daymatrix->clearSelection(); if ( doRepaint ) - daymatrix->repaint(); + daymatrix->repaint( false ); } void KDateNavigator::enableRollover(RolloverType r) { switch(r) { case None : if (updateTimer) { updateTimer->stop(); delete updateTimer; updateTimer=0L; @@ -235,25 +235,25 @@ void KDateNavigator::passedMidnight() QDate today = QDate::currentDate(); bool emitMonth = false; if (today.month() != lastDayChecked.month()) { if (updateRollover==FollowMonth && daymatrix->isEndOfMonth()) { goNextMonth(); emitMonth=true; } } daymatrix->recalculateToday(); - daymatrix->repaint(); + daymatrix->repaint( false ); emit dayPassed(today); if (emitMonth) { emit monthPassed(today); } } /* slot */ void KDateNavigator::possiblyPastMidnight() { if (lastDayChecked!=QDate::currentDate()) { passedMidnight(); lastDayChecked=QDate::currentDate(); } // Set the timer to go off 1 second after midnight |