summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsimage_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsimage_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsimage_p_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsimage_p_p.h b/src/declarative/graphicsitems/qmlgraphicsimage_p_p.h
index f6b4e51..3a5acca 100644
--- a/src/declarative/graphicsitems/qmlgraphicsimage_p_p.h
+++ b/src/declarative/graphicsitems/qmlgraphicsimage_p_p.h
@@ -64,11 +64,13 @@ class QmlGraphicsImagePrivate : public QmlGraphicsImageBasePrivate
public:
QmlGraphicsImagePrivate()
- : fillMode(QmlGraphicsImage::Stretch)
+ : fillMode(QmlGraphicsImage::Stretch), paintedWidth(0), paintedHeight(0)
{
}
QmlGraphicsImage::FillMode fillMode;
+ qreal paintedWidth;
+ qreal paintedHeight;
void setPixmap(const QPixmap &pix);
};