summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-02-05 13:36:42 +0100
committerTobias Hunger <tobias.hunger@qt.io>2018-02-06 13:41:35 +0000
commite109b8c1e2c010ce321dc07afe4192e3192d2e35 (patch)
treed63d1385fe6c53d5734bb6f67ad5a6d694c1fce8
parent068f993db232141f59e3617b2025b0256610a22f (diff)
downloadqt-creator-e109b8c1e2c010ce321dc07afe4192e3192d2e35.tar.gz
CustomToolChain: Read data from toolchain after setting it
Re-read the data from the toolchain after applying it. This makes it more obvious what e.g. the macro parser did with the input. Change-Id: I5518c55c66be84dcdc3b1fa8482e04279768e3eb Reviewed-by: Marco Bubke <marco.bubke@qt.io>
-rw-r--r--src/plugins/projectexplorer/customtoolchain.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp
index 8b60c3c852..6866601e82 100644
--- a/src/plugins/projectexplorer/customtoolchain.cpp
+++ b/src/plugins/projectexplorer/customtoolchain.cpp
@@ -661,6 +661,9 @@ void CustomToolChainConfigWidget::applyImpl()
tc->setDisplayName(displayName); // reset display name
tc->setOutputParserId(Core::Id::fromSetting(m_errorParserComboBox->currentData()));
tc->setCustomParserSettings(m_customParserSettings);
+
+ setFromToolchain(); // Refresh with actual data from the toolchain. This shows what e.g. the
+ // macro parser did with the input.
}
void CustomToolChainConfigWidget::setFromToolchain()