added mode buttons to custom qml viewer and qmljsinspector toolbar

This commit is contained in:
Lasse Holmstedt
2010-07-12 12:02:35 +02:00
committed by Olivier Goffart
parent c53a0337b6
commit 2f8dc2833b
17 changed files with 143 additions and 18 deletions

View File

@@ -81,12 +81,6 @@ 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);