Abort network connections before closing. #892
This commit is contained in:
committed by
Craig Drummond
parent
6955d8620d
commit
66b4b6bfa3
@@ -40,6 +40,7 @@
|
||||
27. Fix crash when changinh playqueue view type.
|
||||
28. Use same sidebar inactive tab mouse-over for all styles.
|
||||
29. Fix colouring issues with some Kvantum styles.
|
||||
30. Abort network connections before closing.
|
||||
|
||||
2.0.1
|
||||
-----
|
||||
|
||||
@@ -101,8 +101,8 @@ void NetworkJob::cancelJob()
|
||||
disconnect(job, SIGNAL(uploadProgress(qint64, qint64)), this, SIGNAL(uploadProgress(qint64, qint64)));
|
||||
disconnect(job, SIGNAL(downloadProgress(qint64, qint64)), this, SLOT(downloadProg(qint64, qint64)));
|
||||
disconnect(job, SIGNAL(destroyed(QObject *)), this, SLOT(jobDestroyed(QObject *)));
|
||||
job->close();
|
||||
job->abort();
|
||||
job->close();
|
||||
job->deleteLater();
|
||||
job=0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user