[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdepim/libkcal
From: Reinhold Kainhofer <reinhold () kainhofer ! com>
Date: 2005-08-31 21:55:59
Message-ID: 1125525359.680616.17163.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 455578 by kainhofe:
When dissociating a single item of a recurring sequence, that dissociated item \
doesn't need any recurrence information, so completely remove also exdates etc.
M +2 -2 calendar.cpp
--- branches/KDE/3.5/kdepim/libkcal/calendar.cpp #455577:455578
@@ -312,7 +312,7 @@
newInc->setRelatedTo( incidence );
Recurrence *recur = newInc->recurrence();
if ( single ) {
- recur->unsetRecurs();
+ recur->clear();
} else {
// Adjust the recurrence for the future incidences. In particular
// adjust the "end after n occurrences" rules! "No end date" and "end by ..."
@@ -323,7 +323,7 @@
if ( doneduration >= duration ) {
kdDebug(5850) << "The dissociated event already occurred more often "
<< "than it was supposed to ever occur. ERROR!" << endl;
- recur->unsetRecurs();
+ recur->clear();
} else {
recur->setDuration( duration - doneduration );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic