[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    proko2: kdepim/kresources/kolab/kcal
From:       David Faure <faure () kde ! org>
Date:       2005-03-18 10:58:50
Message-ID: 20050318105850.C3D4916DE8 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fix off-by-one for yearly/weekday too (issue688). Clarify comments.


  M +2 -2      incidence.cpp   1.1.2.29


--- kdepim/kresources/kolab/kcal/incidence.cpp  #1.1.2.28:1.1.2.29
@@ -535,5 +535,5 @@ void Incidence::setRecurrence( KCal::Rec
     QPtrList<int> months = recur->yearNums();
     if ( !months.isEmpty() )
-      mRecurrence.month = s_monthName[ *months.first() - 1 ]; // #### Kolab XML \
limitation +      mRecurrence.month = s_monthName[ *months.first() - 1 ]; // #### \
Kolab XML limitation: only one month specified  break;
   }
@@ -548,5 +548,5 @@ void Incidence::setRecurrence( KCal::Rec
     QPtrList<int> months = recur->yearNums();
     if ( !months.isEmpty() )
-      mRecurrence.month = s_monthName[ *months.first() ]; // #### Kolab XML \
limitation +      mRecurrence.month = s_monthName[ *months.first() - 1 ]; // #### \
                Kolab XML limitation: only one month specified
     const QPtrList<KCal::Recurrence::rMonthPos> &monthPositions = \
recur->yearMonthPositions();  if ( !monthPositions.isEmpty() ) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic