diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-28 07:02:20 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-28 09:02:20 -0800 |
commit | 30a4fb22748bda18c94027c4746f639cbab3ea71 (patch) | |
tree | d5709d14779c6056e557720aa7581faf0bf05c10 /qt-mobile | |
parent | 8813f13bfdf8269c6933d43c871a6660ce8ed35c (diff) | |
download | subsurface-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.cpp | 1 |
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); |