forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
@@ -90,8 +90,7 @@ public:
|
||||
|
||||
void setEnabled(bool b);
|
||||
|
||||
bool isEnabled(ProjectExplorer::BuildConfiguration *bc) const;
|
||||
using LocalApplicationRunConfiguration::isEnabled;
|
||||
bool isEnabled() const;
|
||||
|
||||
signals:
|
||||
void baseEnvironmentChanged();
|
||||
|
||||
Reference in New Issue
Block a user