We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 526949b + 78f0da2 commit 8610c18Copy full SHA for 8610c18
tests/src/python/test_qgsfiledownloader.py
@@ -53,7 +53,7 @@ def _make_download(self, url, destination, cancel=False):
53
downloader.downloadExited.connect(loop.quit)
54
55
if cancel:
56
- QTimer.singleShot(1000, downloader.onDownloadCanceled)
+ downloader.downloadProgress.connect(downloader.onDownloadCanceled)
57
58
loop.exec_()
59
0 commit comments