Commit 662c46d6 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

kolab resource: port away from deprecated QDateTime constructor

GIT_SILENT
parent 32e303f8
Pipeline #88075 canceled with stage
......@@ -516,7 +516,7 @@ void KCalConversionTest::testContactConversion_data()
KContacts::Addressee kcal;
kcal.setUid(QStringLiteral("uid"));
kcal.setFormattedName(QStringLiteral("name"));
kcal.setBirthday(QDateTime(QDate(2012, 2, 2)));
kcal.setBirthday(QDate(2012, 2, 2).startOfDay());
// Because QDateTime doesn't know date-only values we always end up with a date-time
Kolab::Contact kolab;
......
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