forked from qt-creator/qt-creator
Remove some redundant Environment copying
Change-Id: I70c74fdb4def2e29f3b850da9108e4ba5f572922 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a78fa5fd9c
commit
5c25e3a616
@@ -51,8 +51,7 @@ QmlJSPreviewRunner::QmlJSPreviewRunner(QObject *parent) :
|
||||
+ QString::fromLocal8Bit(qgetenv("PATH"));
|
||||
m_qmlViewerDefaultPath = Utils::SynchronousProcess::locateBinary(searchPath, QLatin1String("qmlviewer"));
|
||||
|
||||
Utils::Environment environment = Utils::Environment::systemEnvironment();
|
||||
m_applicationLauncher.setEnvironment(environment);
|
||||
m_applicationLauncher.setEnvironment(Utils::Environment::systemEnvironment());
|
||||
}
|
||||
|
||||
bool QmlJSPreviewRunner::isReady() const
|
||||
|
||||
Reference in New Issue
Block a user