mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 13:07:38 +03:00
Fix compatibility with Qt < 4.7.
This commit is contained in:
parent
f21b331844
commit
af98c2636c
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ void TestEntry::testClone()
|
||||||
TimeInfo entryOrgTime = entryOrg->timeInfo();
|
TimeInfo entryOrgTime = entryOrg->timeInfo();
|
||||||
QDateTime dateTime;
|
QDateTime dateTime;
|
||||||
dateTime.setTimeSpec(Qt::UTC);
|
dateTime.setTimeSpec(Qt::UTC);
|
||||||
dateTime.setMSecsSinceEpoch(60);
|
dateTime.setTime_t(60);
|
||||||
entryOrgTime.setCreationTime(dateTime);
|
entryOrgTime.setCreationTime(dateTime);
|
||||||
entryOrg->setTimeInfo(entryOrgTime);
|
entryOrg->setTimeInfo(entryOrgTime);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue