Mercurial > hg > svcore
changeset 993:60e2927b1475
Disconnect signals before abandoning reply object, avoiding "reply unknown" error
author | Chris Cannam |
---|---|
date | Wed, 08 Oct 2014 13:14:17 +0100 |
parents | 7a8f7a553b37 |
children | 8c9c425b4958 |
files | data/fileio/FileSource.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp Fri Oct 03 15:28:31 2014 +0100 +++ b/data/fileio/FileSource.cpp Wed Oct 08 13:14:17 2014 +0100 @@ -487,6 +487,7 @@ m_done = true; if (m_reply) { QNetworkReply *r = m_reply; + disconnect(r, 0, this, 0); m_reply = 0; // Can only call abort() when there are no errors. if (r->error() == QNetworkReply::NoError) {