mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 13:34:16 -04:00
Remove Tools::currentDateTimeUtc().
This commit is contained in:
parent
60daa2b41b
commit
9882f16614
10 changed files with 19 additions and 32 deletions
|
@ -237,7 +237,7 @@ void TestModified::testEntrySets()
|
|||
entry->setExpires(entry->timeInfo().expires());
|
||||
QCOMPARE(spyModified.count(), spyCount);
|
||||
|
||||
entry->setExpiryTime(Tools::currentDateTimeUtc().addYears(1));
|
||||
entry->setExpiryTime(QDateTime::currentDateTimeUtc().addYears(1));
|
||||
QCOMPARE(spyModified.count(), ++spyCount);
|
||||
entry->setExpiryTime(entry->timeInfo().expiryTime());
|
||||
QCOMPARE(spyModified.count(), spyCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue