forked from qt-creator/qt-creator
added mode buttons to custom qml viewer and qmljsinspector toolbar
This commit is contained in:
committed by
Olivier Goffart
parent
c53a0337b6
commit
2f8dc2833b
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user