Remove BuildConfiguration parameter from RunConfiguration::isEnabled

Noone used it anyway, makes the code easier to refactor later.

Change-Id: I367c3f15ec5034740760dfe1becd3063b2e19dc1
Reviewed-on: http://codereview.qt.nokia.com/187
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
dt_
2011-05-26 15:33:24 +02:00
committed by Daniel Teske
parent f118242aaa
commit fc90ea3c10
15 changed files with 20 additions and 60 deletions

View File

@@ -319,9 +319,9 @@ void CMakeRunConfiguration::setEnabled(bool b)
setDefaultDisplayName(defaultDisplayName());
}
bool CMakeRunConfiguration::isEnabled(ProjectExplorer::BuildConfiguration *bc) const
bool CMakeRunConfiguration::isEnabled() const
{
return m_enabled && LocalApplicationRunConfiguration::isEnabled(bc);
return m_enabled;
}
// Configuration widget

View File

@@ -90,8 +90,7 @@ public:
void setEnabled(bool b);
bool isEnabled(ProjectExplorer::BuildConfiguration *bc) const;
using LocalApplicationRunConfiguration::isEnabled;
bool isEnabled() const;
signals:
void baseEnvironmentChanged();