Remove some redundant Environment copying

Change-Id: I70c74fdb4def2e29f3b850da9108e4ba5f572922
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Orgad Shaneh
2013-05-17 16:20:08 +03:00
committed by Orgad Shaneh
parent a78fa5fd9c
commit 5c25e3a616
5 changed files with 7 additions and 10 deletions

View File

@@ -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