author | zautrix <zautrix> | 2005-10-22 17:03:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-22 17:03:38 (UTC) |
commit | c1cb0653160e8e449d07a0df7b84b2398c0201fb (patch) (unidiff) | |
tree | 41c648d74574cb47b1e3341a918b448b86c264d9 | |
parent | 3ec18dd19fdf4eb7e763b8022f90de83249facfd (diff) | |
download | kdepimpi-c1cb0653160e8e449d07a0df7b84b2398c0201fb.zip kdepimpi-c1cb0653160e8e449d07a0df7b84b2398c0201fb.tar.gz kdepimpi-c1cb0653160e8e449d07a0df7b84b2398c0201fb.tar.bz2 |
fix
-rw-r--r-- | korganizer/kodaymatrix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 7076e05..52fd1e8 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp | |||
@@ -651,34 +651,34 @@ void KODayMatrix::updateView(QDate actdate) | |||
651 | } | 651 | } |
652 | } | 652 | } |
653 | startdate = actdate; | 653 | startdate = actdate; |
654 | mDayChanged = true; | 654 | mDayChanged = true; |
655 | recalculateToday(); | 655 | recalculateToday(); |
656 | mRedrawNeeded = true; | 656 | mRedrawNeeded = true; |
657 | } | 657 | } |
658 | //qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() ); | 658 | //qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() ); |
659 | if ( !isVisible() ) { | 659 | if ( !isVisible() ) { |
660 | mPendingUpdateBeforeRepaint = true; | 660 | mPendingUpdateBeforeRepaint = true; |
661 | } else { | 661 | } else { |
662 | #ifdef DESKTOP_VERSION | 662 | #ifdef DESKTOP_VERSION |
663 | //mRepaintTimer->start( 100 ); | 663 | //mRepaintTimer->start( 100 ); |
664 | //updateViewTimed(); | 664 | //updateViewTimed(); |
665 | mUpdateTimer->start( 50 ); | 665 | mUpdateTimer->start( 50 ); |
666 | #else | 666 | #else |
667 | mRepaintTimer->start( 350 ); | 667 | mRepaintTimer->start( 250 ); |
668 | mUpdateTimer->start( 800 ); | 668 | mUpdateTimer->start( 500 ); |
669 | #endif | 669 | #endif |
670 | } | 670 | } |
671 | } | 671 | } |
672 | void KODayMatrix::updateEvents() | 672 | void KODayMatrix::updateEvents() |
673 | { | 673 | { |
674 | if ( !mCalendar ) return; | 674 | if ( !mCalendar ) return; |
675 | 675 | ||
676 | for( int i = 0; i < NUMDAYS; i++ ) { | 676 | for( int i = 0; i < NUMDAYS; i++ ) { |
677 | // if events are set for the day then remember to draw it bold | 677 | // if events are set for the day then remember to draw it bold |
678 | QPtrList<Event> eventlist = mCalendar->events( days[ i ] ); | 678 | QPtrList<Event> eventlist = mCalendar->events( days[ i ] ); |
679 | int numEvents = eventlist.count(); | 679 | int numEvents = eventlist.count(); |
680 | Event *event; | 680 | Event *event; |
681 | for( event = eventlist.first(); event != 0;event=eventlist.next()) { | 681 | for( event = eventlist.first(); event != 0;event=eventlist.next()) { |
682 | ushort recurType = event->doesRecur(); | 682 | ushort recurType = event->doesRecur(); |
683 | 683 | ||
684 | if ( ( recurType == Recurrence::rDaily && | 684 | if ( ( recurType == Recurrence::rDaily && |