forked from qt-creator/qt-creator
ProjectExplorer: Rename RunConfiguration:Name -> CurrentRun:Name
Similar variables don't contain "Configuration" in their names. For example: CurrentBuild:Name. + make it available globally. Change-Id: Ie094e2f7afc449d678cf0afec1548350f03ead77 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1d0e1633c2
commit
3805512156
@@ -256,9 +256,9 @@ void RunConfiguration::ctor()
|
||||
BuildConfiguration *bc = target()->activeBuildConfiguration();
|
||||
return bc ? bc->macroExpander() : target()->macroExpander();
|
||||
});
|
||||
expander->registerVariable("RunConfiguration:Name",
|
||||
QCoreApplication::translate("ProjectExplorer", "Name of run configuration"),
|
||||
[this] { return displayName(); });
|
||||
expander->registerVariable(Constants::VAR_CURRENTRUN_NAME,
|
||||
QCoreApplication::translate("ProjectExplorer", "The currently active run configuration's name."),
|
||||
[this] { return displayName(); }, false);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user