|
|
@ -1568,7 +1568,7 @@ void MainWindow::installPython() |
|
|
|
{ |
|
|
|
{ |
|
|
|
setCursor(QCursor(Qt::WaitCursor)); |
|
|
|
setCursor(QCursor(Qt::WaitCursor)); |
|
|
|
// Download python
|
|
|
|
// Download python
|
|
|
|
Net::DownloadHandler *handler = Net::DownloadManager::instance()->downloadUrl("http://python.org/ftp/python/2.7.3/python-2.7.3.msi"); |
|
|
|
Net::DownloadHandler *handler = Net::DownloadManager::instance()->downloadUrl("https://www.python.org/ftp/python/3.4.3/python-3.4.3.msi"); |
|
|
|
connect(handler, SIGNAL(downloadFinished(QString, QString)), this, SLOT(pythonDownloadSuccess(QString, QString))); |
|
|
|
connect(handler, SIGNAL(downloadFinished(QString, QString)), this, SLOT(pythonDownloadSuccess(QString, QString))); |
|
|
|
connect(handler, SIGNAL(downloadFailed(QString, QString)), this, SLOT(pythonDownloadFailure(QString, QString))); |
|
|
|
connect(handler, SIGNAL(downloadFailed(QString, QString)), this, SLOT(pythonDownloadFailure(QString, QString))); |
|
|
|
} |
|
|
|
} |
|
|
|