Use constructor initialization lists where possible.

This commit is contained in:
Felix Geyer 2012-07-19 13:57:55 +02:00
parent 4152e93bb7
commit 308d3ad84b
9 changed files with 31 additions and 38 deletions

View file

@ -20,10 +20,9 @@
#include "core/Tools.h"
TimeInfo::TimeInfo()
: m_expires(false)
, m_usageCount(0)
{
m_expires = false;
m_usageCount = 0;
QDateTime now = Tools::currentDateTimeUtc();
m_lastModificationTime = now;
m_creationTime = now;