compile with QT < 4.7 (RHEL6 an clones)

This commit is contained in:
Andreas Piesk 2012-05-09 20:29:21 +02:00 committed by Florian Geyer
parent 93a868a571
commit 7568582b05
9 changed files with 33 additions and 15 deletions

View file

@ -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;