mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Fix compilation on Windows
This commit is contained in:
@@ -137,7 +137,7 @@ bool SearchEngine::addPythonPathToEnv() {
|
|||||||
void SearchEngine::installPython() {
|
void SearchEngine::installPython() {
|
||||||
setCursor(QCursor(Qt::WaitCursor));
|
setCursor(QCursor(Qt::WaitCursor));
|
||||||
// Download python
|
// Download python
|
||||||
downloadThread *pydownloader = new downloadThread(this);
|
DownloadThread *pydownloader = new DownloadThread(this);
|
||||||
connect(pydownloader, SIGNAL(downloadFinished(QString,QString)), this, SLOT(pythonDownloadSuccess(QString,QString)));
|
connect(pydownloader, SIGNAL(downloadFinished(QString,QString)), this, SLOT(pythonDownloadSuccess(QString,QString)));
|
||||||
connect(pydownloader, SIGNAL(downloadFailure(QString,QString)), this, SLOT(pythonDownloadFailure(QString,QString)));
|
connect(pydownloader, SIGNAL(downloadFailure(QString,QString)), this, SLOT(pythonDownloadFailure(QString,QString)));
|
||||||
pydownloader->downloadUrl("http://python.org/ftp/python/2.6.5/python-2.6.5.msi");
|
pydownloader->downloadUrl("http://python.org/ftp/python/2.6.5/python-2.6.5.msi");
|
||||||
|
|||||||
Reference in New Issue
Block a user