Bring out the asymmetry between date and time more clearly; when date is valid, an invalid time is ignored in favor of QTime(0, 0). At the same time, eliminate an un-needed variable from the code that implements this special handling. (Left over from when the QTime was passed by const ref, rather than by value.) Change-Id: I81d8a9026cbb7887a8c638a2761b3db54c088af7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |
||
|---|---|---|
| .. | ||
| qcalendar | ||
| qdate | ||
| qdatetime | ||
| qdatetimeparser | ||
| qtime | ||
| qtimezone | ||
| CMakeLists.txt | ||