author | zautrix <zautrix> | 2005-08-22 10:49:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-22 10:49:00 (UTC) |
commit | f516a558e6d18982a54152b28ca3da78fe76e3fc (patch) (side-by-side diff) | |
tree | 231fa0bd8fe72db6cdae319def362e07945b1e2c | |
parent | 4b60cc60255c64717a2d4011d561c72b6878cdb4 (diff) | |
download | kdepimpi-f516a558e6d18982a54152b28ca3da78fe76e3fc.zip kdepimpi-f516a558e6d18982a54152b28ca3da78fe76e3fc.tar.gz kdepimpi-f516a558e6d18982a54152b28ca3da78fe76e3fc.tar.bz2 |
recurrence default fix
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 1 | ||||
-rw-r--r-- | korganizer/koeditorrecurrence.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 37266bf..a864f1d 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -1,16 +1,17 @@ Info about the changes in new versions of KDE-Pim/Pi ********** VERSION 2.2.3 ************ +Fixed a problem with (non empty) exception dates of recurring events for newly created events. ********** VERSION 2.2.2 ************ KO/Pi: Fixed a problem with the sort order of last modified date in list view. KA/Pi: Fixed a resource config read problem on windows. ********** VERSION 2.2.1 ************ diff --git a/korganizer/koeditorrecurrence.cpp b/korganizer/koeditorrecurrence.cpp index 0e74a99..e0380c4 100644 --- a/korganizer/koeditorrecurrence.cpp +++ b/korganizer/koeditorrecurrence.cpp @@ -416,24 +416,26 @@ ExceptionsWidget::ExceptionsWidget( QWidget *parent, const char *name ) : connect( deleteExceptionButton, SIGNAL( clicked() ), SLOT( deleteException() ) ); if ( QApplication::desktop()->width() < 480 ) { setMinimumWidth( 220 ); } else { setMinimumWidth( 440 ); mExceptionDateEdit->setMinimumWidth( 200 ); } } void ExceptionsWidget::setDefaults( const QDateTime &from ) { + mExceptionList->clear(); + mExceptionDates.clear(); mExceptionDateEdit->setDate( from.date() ); } void ExceptionsWidget::addException() { QDate date = mExceptionDateEdit->date(); QString dateStr = KGlobal::locale()->formatDate( date ); if( !mExceptionList->findItem( dateStr ) ) { mExceptionDates.append( date ); mExceptionList->insertItem( dateStr ); } } |