Allow to specify proxy option per request

This commit is contained in:
Vladimir Golovnev (Glassez)
2023-01-29 11:49:42 +03:00
parent 8993d87b32
commit 4745a40f0b
15 changed files with 208 additions and 181 deletions

View File

@@ -1948,8 +1948,8 @@ void MainWindow::installPython()
const auto installerURL = u"https://www.python.org/ftp/python/3.8.10/python-3.8.10.exe"_qs;
#endif
Net::DownloadManager::instance()->download(
Net::DownloadRequest(installerURL).saveToFile(true)
, this, &MainWindow::pythonDownloadFinished);
Net::DownloadRequest(installerURL).saveToFile(true)
, true, this, &MainWindow::pythonDownloadFinished);
}
void MainWindow::pythonDownloadFinished(const Net::DownloadResult &result)