summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfximage.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-05-07 23:02:42 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-05-07 23:02:42 (GMT)
commitbe0106a92528f7dc47d9fd6e21dd7d7a7ffb9ada (patch)
tree7ad768883809f7718b95b946f6e5a93e74d2becc /src/declarative/fx/qfximage.cpp
parent495150413916a9a41cdffc5879f36a6e16e7866c (diff)
downloadQt-be0106a92528f7dc47d9fd6e21dd7d7a7ffb9ada.zip
Qt-be0106a92528f7dc47d9fd6e21dd7d7a7ffb9ada.tar.gz
Qt-be0106a92528f7dc47d9fd6e21dd7d7a7ffb9ada.tar.bz2
Make sure cancelling image loading cancels progress reporting.
Diffstat (limited to 'src/declarative/fx/qfximage.cpp')
-rw-r--r--src/declarative/fx/qfximage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/fx/qfximage.cpp b/src/declarative/fx/qfximage.cpp
index d66846d..e1ac2c7 100644
--- a/src/declarative/fx/qfximage.cpp
+++ b/src/declarative/fx/qfximage.cpp
@@ -865,9 +865,9 @@ void QFxImage::setSource(const QString &url)
}
if (!d->url.isEmpty())
- QFxPixmap::cancelGet(d->url, this, SLOT(requestFinished()));
+ QFxPixmap::cancelGet(d->url, this);
if (!d->sciurl.isEmpty())
- QFxPixmap::cancelGet(d->sciurl, this, SLOT(requestFinished()));
+ QFxPixmap::cancelGet(d->sciurl, this);
d->source = url;
d->url = qmlContext(this)->resolvedUrl(url);