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:
authorAndreas Piesk <a.piesk@gmx.net>2012-05-09 22:29:21 +0400
committerFlorian Geyer <blueice@fobos.de>2012-05-10 00:15:28 +0400
commit7568582b056c1b32a0b9917ef483ee8ee08c9afc (patch)
tree278c5bcff926e0d76bf979d70006fc5c8fcdda37 /tests/TestModified.cpp
parent93a868a571f8251d6e28d6a271875c1216f531f3 (diff)
compile with QT < 4.7 (RHEL6 an clones)
Diffstat (limited to 'tests/TestModified.cpp')
-rw-r--r--tests/TestModified.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestModified.cpp b/tests/TestModified.cpp
index 6f3615f60..4551485a6 100644
--- a/tests/TestModified.cpp
+++ b/tests/TestModified.cpp
@@ -23,6 +23,7 @@
#include "tests.h"
#include "core/Database.h"
#include "core/Group.h"
+#include "core/Tools.h"
#include "crypto/Crypto.h"
void TestModified::initTestCase()
@@ -233,7 +234,7 @@ void TestModified::testEntrySets()
entry->setExpires(entry->timeInfo().expires());
QCOMPARE(spyModified.count(), spyCount);
- entry->setExpiryTime(QDateTime::currentDateTimeUtc().addYears(1));
+ entry->setExpiryTime(Tools::currentDateTimeUtc().addYears(1));
QCOMPARE(spyModified.count(), ++spyCount);
entry->setExpiryTime(entry->timeInfo().expiryTime());
QCOMPARE(spyModified.count(), spyCount);