Browse Source

Fix compilation on Windows

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
b1fe50e056
  1. 2
      src/searchengine/searchengine.cpp

2
src/searchengine/searchengine.cpp

@ -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");

Loading…
Cancel
Save