Initialise values

Fixes valgrind screaming about us doing a jump on unitialised memory
This commit is contained in:
David Edmundson 2014-02-06 19:07:26 +01:00
parent ab140c8c1e
commit 2b7a1eef48

View File

@ -40,6 +40,8 @@ Units::Units (QObject *parent)
: QObject(parent),
m_gridUnit(-1),
m_devicePixelRatio(-1),
m_smallSpacing(-1),
m_largeSpacing(-1),
m_longDuration(defaultLongDuration) // default base value for animations
{
m_iconSizes = new QQmlPropertyMap(this);