Disconnect correct signal!

This commit is contained in:
craig.p.drummond
2013-12-05 19:43:53 +00:00
committed by craig.p.drummond
parent f002e46131
commit ac48847880

View File

@@ -71,7 +71,7 @@ NetworkJob::~NetworkJob()
{
if (job) {
disconnect(job, SIGNAL(finished()), this, SLOT(jobFinished()));
disconnect(job, SIGNAL(destroyed(QObject)), this, SLOT(jobDestroyed(QObject)));
disconnect(job, SIGNAL(destroyed(QObject *)), this, SLOT(jobDestroyed(QObject *)));
job->abort();
job->deleteLater();
job=0;