diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-09-06 02:35:00 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-09-06 02:43:14 (GMT) |
commit | 49e763dd2aab74e28080aae5fddee4ce5fc015f5 (patch) | |
tree | f25007c89c0bf4abeee5d64def8d020167ad9298 /src/declarative/graphicsitems/qdeclarativeimagebase.cpp | |
parent | c235e347b53500b6534a3e2c1cacc05d7160f98f (diff) | |
download | Qt-49e763dd2aab74e28080aae5fddee4ce5fc015f5.zip Qt-49e763dd2aab74e28080aae5fddee4ce5fc015f5.tar.gz Qt-49e763dd2aab74e28080aae5fddee4ce5fc015f5.tar.bz2 |
Do not reset sourceSize when changing image source url.
Task-number: QTBUG-13383
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeimagebase.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeimagebase.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeimagebase.cpp b/src/declarative/graphicsitems/qdeclarativeimagebase.cpp index 482906e..f0293d6 100644 --- a/src/declarative/graphicsitems/qdeclarativeimagebase.cpp +++ b/src/declarative/graphicsitems/qdeclarativeimagebase.cpp @@ -139,10 +139,7 @@ void QDeclarativeImageBase::load() d->status = Null; setImplicitWidth(0); setImplicitHeight(0); - d->sourcesize.setWidth(0); - d->sourcesize.setHeight(0); emit statusChanged(d->status); - emit sourceSizeChanged(); pixmapChange(); update(); } else { |