Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2013-11-30 16:47:39 +0400
committerFelix Geyer <debfx@fobos.de>2013-11-30 16:47:39 +0400
commitaf98c2636cf103a124ff53436feac4e7054fb8cb (patch)
tree6c1bec0156de43bd41de36d2f0144bcfb36d3aa6 /tests/TestEntry.cpp
parentf21b331844be008761b79666e7d2ca837d117997 (diff)
Fix compatibility with Qt < 4.7.
Diffstat (limited to 'tests/TestEntry.cpp')
-rw-r--r--tests/TestEntry.cpp2
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);