From 15a9019191f8c84eb07edadd6cfb62eb5181cec1 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 4 Aug 2013 20:57:50 +0300 Subject: [PATCH] CustomToolChain: emit dirty() on changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0c9a199562ff6b5953d22d42b28f814e53ffb3d9 Reviewed-by: André Hartmann Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/customtoolchain.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index 3ea892b6594..4676578584c 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -444,9 +444,13 @@ CustomToolChainConfigWidget::CustomToolChainConfigWidget(CustomToolChain *tc) : m_predefinedDetails->updateSummaryText(); m_headerDetails->updateSummaryText(); + connect(m_compilerCommand, SIGNAL(changed(QString)), this, SIGNAL(dirty())); + connect(m_makeCommand, SIGNAL(changed(QString)), this, SIGNAL(dirty())); connect(m_abiWidget, SIGNAL(abiChanged()), this, SIGNAL(dirty())); connect(m_predefinedMacros, SIGNAL(textChanged()), this, SLOT(updateSummaries())); connect(m_headerPaths, SIGNAL(textChanged()), this, SLOT(updateSummaries())); + connect(m_cxx11Flags, SIGNAL(textChanged(QString)), this, SIGNAL(dirty())); + connect(m_mkspecs, SIGNAL(textChanged(QString)), this, SIGNAL(dirty())); } void CustomToolChainConfigWidget::updateSummaries() @@ -455,6 +459,7 @@ void CustomToolChainConfigWidget::updateSummaries() m_predefinedDetails->updateSummaryText(); else m_headerDetails->updateSummaryText(); + emit dirty(); } void CustomToolChainConfigWidget::applyImpl()