forked from qt-creator/qt-creator
ProjectExplorer: Introduce base class for enabled/disabled project configuration
... and use this as a base for all RunConfigurations. Clean out code in the individual run configurations dealing with their enabled/disabled state. Change-Id: Icc2ea136b056f7aea7ce96480b4402459d7ac0ce Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -101,7 +101,7 @@ void QmlProject::addedRunConfiguration(RunConfiguration *rc)
|
||||
// they have been added to a project
|
||||
QmlProjectRunConfiguration *qmlrc = qobject_cast<QmlProjectRunConfiguration *>(rc);
|
||||
if (qmlrc)
|
||||
qmlrc->updateEnabled();
|
||||
qmlrc->updateEnabledState();
|
||||
}
|
||||
|
||||
QDir QmlProject::projectDir() const
|
||||
|
Reference in New Issue
Block a user