[Kde-pim] Review Request 123366: Create only valid QDateTime's.
Christian Mollekopf
chrigi_1 at fastmail.fm
Wed Apr 15 13:53:03 BST 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123366/
-----------------------------------------------------------
Review request for KDEPIM-Libraries and Laurent Montel.
Repository: kcontacts
Description
-------
Create only valid QDateTime's.
With an invalid QTime aka QTime() the QDateTime is also invalid. This
hack was used to have something like a QDateTime with a dateonly feature.
With this patch we no longer create invalid date-times, at the expense of
converting all date-only brithdays to the time 00:00:00. If support for
date-only birthdays is indeed required, the interface needs to be adjusted
or QDateTime needs to gain a date-only feature.
KOLAB: 3935
Conflicts:
kabc/vcardtool.cpp
Diffs
-----
src/vcardtool.cpp 49829af24411cc79262049c2a675759d73f7509c
Diff: https://git.reviewboard.kde.org/r/123366/diff/
Testing
-------
Thanks,
Christian Mollekopf
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list