diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2010-08-13 11:57:19 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2010-08-13 13:36:39 +0200 |
commit | e28e1f0c568dd91b0b534c1c0c968e8b3549a8bc (patch) | |
tree | 00043e7d7fdecf1d3df00f39d1e55c50d7f94229 | |
parent | bbee4a6367c76798fb9bb558a2c53617549827af (diff) | |
download | qt-creator-e28e1f0c568dd91b0b534c1c0c968e8b3549a8bc.tar.gz |
Fix QtQuick->Preview shortcut to start a qmlviewer
The executable has been renamed to 'qmlviewer' months ago
-rw-r--r-- | src/plugins/qmljseditor/qmljspreviewrunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmljspreviewrunner.cpp b/src/plugins/qmljseditor/qmljspreviewrunner.cpp index edae36100f..6100360614 100644 --- a/src/plugins/qmljseditor/qmljspreviewrunner.cpp +++ b/src/plugins/qmljseditor/qmljspreviewrunner.cpp @@ -18,7 +18,7 @@ QmlJSPreviewRunner::QmlJSPreviewRunner(QObject *parent) : const QString searchPath = QCoreApplication::applicationDirPath() + Utils::SynchronousProcess::pathSeparator() + QString(qgetenv("PATH")); - m_qmlViewerDefaultPath = Utils::SynchronousProcess::locateBinary(searchPath, QLatin1String("qml")); + m_qmlViewerDefaultPath = Utils::SynchronousProcess::locateBinary(searchPath, QLatin1String("qmlviewer")); ProjectExplorer::Environment environment = ProjectExplorer::Environment::systemEnvironment(); m_applicationLauncher.setEnvironment(environment.toStringList()); |