summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kodaymatrix.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp
index be5a775..9812321 100644
--- a/korganizer/kodaymatrix.cpp
+++ b/korganizer/kodaymatrix.cpp
@@ -289,16 +289,17 @@ void KODayMatrix::updateView(QDate actdate)
289 recalculateToday(); 289 recalculateToday();
290 } 290 }
291 //qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() ); 291 //qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() );
292 if ( !isVisible() ) { 292 if ( !isVisible() ) {
293 mPendingUpdateBeforeRepaint = true; 293 mPendingUpdateBeforeRepaint = true;
294 } else { 294 } else {
295 mRepaintTimer->start( 250 );
296#ifdef DESKTOP_VERSION 295#ifdef DESKTOP_VERSION
296 mRepaintTimer->start( 250 );
297 mUpdateTimer->start( 2000 ); 297 mUpdateTimer->start( 2000 );
298#else 298#else
299 mRepaintTimer->start( 350 );
299 mUpdateTimer->start( 4000 ); 300 mUpdateTimer->start( 4000 );
300#endif 301#endif
301 } 302 }
302} 303}
303 304
304const QDate& KODayMatrix::getDate(int offset) 305const QDate& KODayMatrix::getDate(int offset)