|
|
|
@ -135,7 +135,7 @@ void SearchEngine::installPython() {
@@ -135,7 +135,7 @@ void SearchEngine::installPython() {
|
|
|
|
|
DownloadThread *pydownloader = new DownloadThread(this); |
|
|
|
|
connect(pydownloader, SIGNAL(downloadFinished(QString,QString)), this, SLOT(pythonDownloadSuccess(QString,QString))); |
|
|
|
|
connect(pydownloader, SIGNAL(downloadFailure(QString,QString)), this, SLOT(pythonDownloadFailure(QString,QString))); |
|
|
|
|
pydownloader->downloadUrl("http://python.org/ftp/python/2.7.2/python-2.7.2.msi"); |
|
|
|
|
pydownloader->downloadUrl("http://python.org/ftp/python/2.7.3/python-2.7.3.msi"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void SearchEngine::pythonDownloadSuccess(QString url, QString file_path) { |
|
|
|
|