manually applied changes from qmlinspector to qmljsinspector

This commit is contained in:
Lasse Holmstedt
2010-07-08 11:34:51 +02:00
parent 0efb4d69fc
commit 9a81759101
30 changed files with 1230 additions and 181 deletions

View File

@@ -81,6 +81,12 @@ QmlRunControl::~QmlRunControl()
void QmlRunControl::start()
{
if (runMode() == ProjectExplorer::Constants::DEBUGMODE) {
if (!m_commandLineArguments.contains(QmlJSInspector::Constants::ARG_DESIGNMODE)) {
m_commandLineArguments.append(QmlJSInspector::Constants::ARG_DESIGNMODE);
}
}
m_applicationLauncher.start(ProjectExplorer::ApplicationLauncher::Gui, m_executable,
m_commandLineArguments);