mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
compile with QT < 4.7 (RHEL6 an clones)
This commit is contained in:
committed by
Florian Geyer
parent
93a868a571
commit
7568582b05
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user