diff options
author | Felix Geyer <debfx@fobos.de> | 2013-11-30 16:47:39 +0400 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2013-11-30 16:47:39 +0400 |
commit | af98c2636cf103a124ff53436feac4e7054fb8cb (patch) | |
tree | 6c1bec0156de43bd41de36d2f0144bcfb36d3aa6 /tests/TestEntry.cpp | |
parent | f21b331844be008761b79666e7d2ca837d117997 (diff) |
Fix compatibility with Qt < 4.7.
Diffstat (limited to 'tests/TestEntry.cpp')
-rw-r--r-- | tests/TestEntry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |