diff --git a/tests/TestEntry.cpp b/tests/TestEntry.cpp index 9c027b6a2..15f398f18 100644 --- a/tests/TestEntry.cpp +++ b/tests/TestEntry.cpp @@ -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);