Fix compatibility with Qt < 4.7.

This commit is contained in:
Felix Geyer 2013-11-30 13:47:39 +01:00
parent f21b331844
commit af98c2636c

View File

@ -91,7 +91,7 @@ void TestEntry::testClone()
TimeInfo entryOrgTime = entryOrg->timeInfo();
QDateTime dateTime;
dateTime.setTimeSpec(Qt::UTC);
dateTime.setMSecsSinceEpoch(60);
dateTime.setTime_t(60);
entryOrgTime.setCreationTime(dateTime);
entryOrg->setTimeInfo(entryOrgTime);