From 30a4fb22748bda18c94027c4746f639cbab3ea71 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 28 Jan 2016 07:02:20 -0800 Subject: Avoid uninitialized memory access Signed-off-by: Dirk Hohndel --- qt-mobile/qmlprofile.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3-70-g09d2