From e5e0853dd30a09533bcfeabc37e7e08bf9438d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 15 Aug 2017 11:27:26 +0200 Subject: [PATCH] GUI: Remove environment tweaks because it should not be needed --- gui/checkthread.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gui/checkthread.cpp b/gui/checkthread.cpp index 84f35e58c..cecb4339c 100644 --- a/gui/checkthread.cpp +++ b/gui/checkthread.cpp @@ -273,16 +273,6 @@ void CheckThread::runAddons(const QString &addonPath, const ImportProject::FileS qDebug() << python << args; QProcess process; - if (!mPythonPath.isEmpty()) { - QStringList env(QProcess::systemEnvironment()); - for (int i = 0; i < env.size(); ++i) { - if (env[i].startsWith("PYTHONHOME=")) { - env.removeAt(i); - process.setEnvironment(env); - break; - } - } - } process.start(python, args); process.waitForFinished(); const QString errout(process.readAllStandardError());