forked from qt-creator/qt-creator
QbsProjectManager: Fix the "Enable QML debugging" checkbox
Once it was enabled, the value passed to qbs would never get reset. Task-number: QTCREATORBUG-20377 Change-Id: I366cba77ef56d81dcdaf619c697c60396eeec651 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
@@ -207,6 +207,8 @@ QVariantMap QbsBuildStep::qbsConfiguration(VariableHandling variableHandling) co
|
||||
config.insert(Constants::QBS_FORCE_PROBES_KEY, m_forceProbes);
|
||||
if (m_enableQmlDebugging)
|
||||
config.insert(Constants::QBS_CONFIG_QUICK_DEBUG_KEY, true);
|
||||
else
|
||||
config.remove(Constants::QBS_CONFIG_QUICK_DEBUG_KEY);
|
||||
if (variableHandling == ExpandVariables) {
|
||||
const Utils::MacroExpander *expander = Utils::globalMacroExpander();
|
||||
for (auto it = config.begin(), end = config.end(); it != end; ++it) {
|
||||
|
||||
Reference in New Issue
Block a user