GUI: Remove environment tweaks because it should not be needed

This commit is contained in:
Daniel Marjamäki 2017-08-15 11:27:26 +02:00
parent d3d9c76f01
commit e5e0853dd3
1 changed files with 0 additions and 10 deletions

View File

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