aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/customtoolchain.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-08-04 20:57:50 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-08-13 09:18:32 +0200
commit15a9019191f8c84eb07edadd6cfb62eb5181cec1 (patch)
tree4078519a4d1d9407ab1e27e4915fc64cfc0eb0bc /src/plugins/projectexplorer/customtoolchain.cpp
parentc20da77b27b1d778c941713a265490b1d7afed4e (diff)
CustomToolChain: emit dirty() on changes
Change-Id: I0c9a199562ff6b5953d22d42b28f814e53ffb3d9 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/customtoolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/customtoolchain.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp
index 3ea892b659..4676578584 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()