Commit 5d2ed64c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

parent 438e0221
......@@ -82,13 +82,7 @@ void PersonalEditorWidget::loadContact(const KContacts::Addressee &contact)
void PersonalEditorWidget::storeContact(KContacts::Addressee &contact)
// dates group
QDateTime birthday = QDateTime(mBirthdateWidget->date(), QTime(), contact.birthday().timeSpec());
// This is needed because the constructor above sets the time component
// of the QDateTime to midnight. We want it to stay invalid.
Akonadi::Utils::storeCustom(contact, QStringLiteral("X-Anniversary"), mAnniversaryWidget->date().toString(Qt::ISODate));
// family group
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment