forked from qt-creator/qt-creator
Cmake: Don't delete run configurations on switching buildconfigurations
Just disable them, but preserve them. This is different from qmake, but for qmake we do have different assumptions what a buildconfiguration is. Task-Nr: QTCREATORBUG-1591
This commit is contained in:
@@ -81,6 +81,11 @@ public:
|
||||
|
||||
QVariantMap toMap() const;
|
||||
|
||||
void setEnabled(bool b);
|
||||
|
||||
bool isEnabled(ProjectExplorer::BuildConfiguration *bc) const;
|
||||
using LocalApplicationRunConfiguration::isEnabled;
|
||||
|
||||
signals:
|
||||
void baseEnvironmentChanged();
|
||||
void userEnvironmentChangesChanged(const QList<ProjectExplorer::EnvironmentItem> &diff);
|
||||
@@ -115,6 +120,7 @@ private:
|
||||
QString m_arguments;
|
||||
QList<ProjectExplorer::EnvironmentItem> m_userEnvironmentChanges;
|
||||
BaseEnvironmentBase m_baseEnvironmentBase;
|
||||
bool m_enabled;
|
||||
};
|
||||
|
||||
class CMakeRunConfigurationWidget : public QWidget
|
||||
|
||||
Reference in New Issue
Block a user