summaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-28 07:02:20 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-28 09:02:20 -0800
commit30a4fb22748bda18c94027c4746f639cbab3ea71 (patch)
treed5709d14779c6056e557720aa7581faf0bf05c10 /qt-mobile
parent8813f13bfdf8269c6933d43c871a6660ce8ed35c (diff)
downloadsubsurface-30a4fb22748bda18c94027c4746f639cbab3ea71.tar.gz
Avoid uninitialized memory access
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qmlprofile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qmlprofile.cpp b/qt-mobile/qmlprofile.cpp
index 82f7dfe4c..7ff95db9b 100644
--- a/qt-mobile/qmlprofile.cpp
+++ b/qt-mobile/qmlprofile.cpp
@@ -5,6 +5,7 @@
QMLProfile::QMLProfile(QQuickItem *parent) :
QQuickPaintedItem(parent),
+ m_devicePixelRatio(1.0),
m_margin(0)
{
setAntialiasing(true);