diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-10-08 04:50:43 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-10-08 04:52:09 (GMT) |
commit | e17a5398bf20b89834d4d6c7f4d9203f192b101f (patch) | |
tree | 270f6019ef3a99ee77738c9451db78b5d45138b6 /src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h | |
parent | fd2d104988955e4e94252abd8d90507aa33dc10d (diff) | |
download | Qt-e17a5398bf20b89834d4d6c7f4d9203f192b101f.zip Qt-e17a5398bf20b89834d4d6c7f4d9203f192b101f.tar.gz Qt-e17a5398bf20b89834d4d6c7f4d9203f192b101f.tar.bz2 |
Image.sourceSize is incorrect after changing Image.source
Task-number: QTBUG-14303
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h b/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h index aee8b28..3d23ba9 100644 --- a/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativeimagebase_p_p.h @@ -69,6 +69,7 @@ public: QDeclarativeImageBasePrivate() : status(QDeclarativeImageBase::Null), progress(0.0), + explicitSourceSize(false), async(false) { QGraphicsItemPrivate::flags = QGraphicsItemPrivate::flags & ~QGraphicsItem::ItemHasNoContents; @@ -79,6 +80,7 @@ public: QUrl url; qreal progress; QSize sourcesize; + bool explicitSourceSize : 1; bool async : 1; }; |