aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickimagebase_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickimagebase_p_p.h')
-rw-r--r--src/quick/items/qquickimagebase_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickimagebase_p_p.h b/src/quick/items/qquickimagebase_p_p.h
index 395abf01fa..bb8778d789 100644
--- a/src/quick/items/qquickimagebase_p_p.h
+++ b/src/quick/items/qquickimagebase_p_p.h
@@ -69,6 +69,7 @@ public:
QQuickImageBasePrivate()
: status(QQuickImageBase::Null),
progress(0.0),
+ devicePixelRatio(1.0),
async(false),
cache(true),
mirror(false)
@@ -81,6 +82,7 @@ public:
qreal progress;
QSize sourcesize;
QSize oldSourceSize;
+ qreal devicePixelRatio;
bool async : 1;
bool cache : 1;
bool mirror: 1;