author | zautrix <zautrix> | 2004-10-26 00:26:43 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-26 00:26:43 (UTC) |
commit | d9a3130b909cc32cfdee4cc6136105d9a488f357 (patch) (side-by-side diff) | |
tree | 78e3cb0d8552f5a369f507b6b29eede81754db6b | |
parent | 283cdf0b976a66c8e29ac327385472844d92f581 (diff) | |
download | kdepimpi-d9a3130b909cc32cfdee4cc6136105d9a488f357.zip kdepimpi-d9a3130b909cc32cfdee4cc6136105d9a488f357.tar.gz kdepimpi-d9a3130b909cc32cfdee4cc6136105d9a488f357.tar.bz2 |
set organizer when importing b days
-rw-r--r-- | korganizer/calendarview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index e64d83a..284ddbf 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -1459,13 +1459,13 @@ bool CalendarView::addAnniversary( QDate date, QString name, KCal::Attendee* a QString kind; if ( birthday ) kind = i18n( "Birthday" ); else kind = i18n( "Anniversary" ); ev->setSummary( name + " - " + kind ); - ev->setOrganizer( "nobody@nowhere" ); + ev->setOrganizer(a->email()); ev->setCategories( kind ); ev->setDtStart( QDateTime(date) ); ev->setDtEnd( QDateTime(date) ); ev->setFloats( true ); Recurrence * rec = ev->recurrence(); rec->setYearly(Recurrence::rYearlyMonth,1,-1); |