From af98c2636cf103a124ff53436feac4e7054fb8cb Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sat, 30 Nov 2013 13:47:39 +0100 Subject: [PATCH] Fix compatibility with Qt < 4.7. --- tests/TestEntry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestEntry.cpp b/tests/TestEntry.cpp index 9c027b6a..15f398f1 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);