diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-03-28 22:56:09 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-03-28 22:56:09 (GMT) |
commit | 6b619af035a995cf16d977439995cf7c1c0d366e (patch) | |
tree | a16a087af07fabe882e0ba040c29ff23afa77aa0 /src/declarative/graphicsitems | |
parent | ffdd3c40413ef933506c040f40e4fb7ecd1ee062 (diff) | |
download | Qt-6b619af035a995cf16d977439995cf7c1c0d366e.zip Qt-6b619af035a995cf16d977439995cf7c1c0d366e.tar.gz Qt-6b619af035a995cf16d977439995cf7c1c0d366e.tar.bz2 |
tyop
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeimagebase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeimagebase.cpp b/src/declarative/graphicsitems/qdeclarativeimagebase.cpp index b8d67ff..5a234b7 100644 --- a/src/declarative/graphicsitems/qdeclarativeimagebase.cpp +++ b/src/declarative/graphicsitems/qdeclarativeimagebase.cpp @@ -152,7 +152,7 @@ void QDeclarativeImageBase::load() } else { d->status = Loading; int reqwidth = d->sourcesize.width(); - int reqheight = d->sourcesize.width(); + int reqheight = d->sourcesize.height(); QSize impsize; QDeclarativePixmapReply::Status status = QDeclarativePixmapCache::get(d->url, &d->pix, &impsize, d->async, reqwidth, reqheight); if (status != QDeclarativePixmapReply::Ready && status != QDeclarativePixmapReply::Error) { |