author | zautrix <zautrix> | 2005-03-21 14:24:44 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-21 14:24:44 (UTC) |
commit | 3bd97904e69bf586122ad82d279c37db0861eefb (patch) (unidiff) | |
tree | 34630b2d02421a61f7664226aee60a4ce76fa2ab | |
parent | 41f264fea6caaf9ca0f8b34509a07157c210f851 (diff) | |
download | kdepimpi-3bd97904e69bf586122ad82d279c37db0861eefb.zip kdepimpi-3bd97904e69bf586122ad82d279c37db0861eefb.tar.gz kdepimpi-3bd97904e69bf586122ad82d279c37db0861eefb.tar.bz2 |
repaint fixes
-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 2 | ||||
-rw-r--r-- | korganizer/kdatenavigator.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index d4173e8..9506768 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp | |||
@@ -130,9 +130,9 @@ void DateNavigatorContainer::selectDates( const DateList &dateList ) | |||
130 | setBaseDates(); | 130 | setBaseDates(); |
131 | if ( mExtraViews.count() ) { | 131 | if ( mExtraViews.count() ) { |
132 | KDateNavigator *view = mExtraViews.at( 0 ); | 132 | KDateNavigator *view = mExtraViews.at( 0 ); |
133 | view->dayMatrix()->setSelectedDaysFrom(*(dateList.begin()), *(--dateList.end())); | 133 | view->dayMatrix()->setSelectedDaysFrom(*(dateList.begin()), *(--dateList.end())); |
134 | view->dayMatrix()->repaint(); | 134 | view->dayMatrix()->repaint( false ); |
135 | } | 135 | } |
136 | } | 136 | } |
137 | 137 | ||
138 | void DateNavigatorContainer::setBaseDates() | 138 | void DateNavigatorContainer::setBaseDates() |
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index 2321acb..fe83e09 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp | |||
@@ -194,9 +194,9 @@ void KDateNavigator::setBaseDate( const QDate &date , bool doRepaint ) // = true | |||
194 | mNavigatorBar->selectDates( dates ); | 194 | mNavigatorBar->selectDates( dates ); |
195 | 195 | ||
196 | daymatrix->clearSelection(); | 196 | daymatrix->clearSelection(); |
197 | if ( doRepaint ) | 197 | if ( doRepaint ) |
198 | daymatrix->repaint(); | 198 | daymatrix->repaint( false ); |
199 | } | 199 | } |
200 | 200 | ||
201 | void KDateNavigator::enableRollover(RolloverType r) | 201 | void KDateNavigator::enableRollover(RolloverType r) |
202 | { | 202 | { |
@@ -243,9 +243,9 @@ void KDateNavigator::passedMidnight() | |||
243 | emitMonth=true; | 243 | emitMonth=true; |
244 | } | 244 | } |
245 | } | 245 | } |
246 | daymatrix->recalculateToday(); | 246 | daymatrix->recalculateToday(); |
247 | daymatrix->repaint(); | 247 | daymatrix->repaint( false ); |
248 | emit dayPassed(today); | 248 | emit dayPassed(today); |
249 | if (emitMonth) { emit monthPassed(today); } | 249 | if (emitMonth) { emit monthPassed(today); } |
250 | } | 250 | } |
251 | 251 | ||