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 /src/core/TimeInfo.cpp
parent93a868a571f8251d6e28d6a271875c1216f531f3 (diff)
compile with QT < 4.7 (RHEL6 an clones)
Diffstat (limited to 'src/core/TimeInfo.cpp')
-rw-r--r--src/core/TimeInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/TimeInfo.cpp b/src/core/TimeInfo.cpp
index 404e2bbf1..06f2aa7d5 100644
--- a/src/core/TimeInfo.cpp
+++ b/src/core/TimeInfo.cpp
@@ -17,12 +17,14 @@
#include "TimeInfo.h"
+#include "core/Tools.h"
+
TimeInfo::TimeInfo()
{
m_expires = false;
m_usageCount = 0;
- QDateTime now = QDateTime::currentDateTimeUtc();
+ QDateTime now = Tools::currentDateTimeUtc();
m_lastModificationTime = now;
m_creationTime = now;
m_lastAccessTime = now;