forked from qt-creator/qt-creator
Project Explorer: Fix UI text
Task-number: QTCREATORBUG-27055 Change-Id: I9b0e4f02ea7d1ebb14a9581f21c76b8908589334 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -188,13 +188,13 @@ RunConfiguration::RunConfiguration(Target *target, Utils::Id id)
|
||||
BuildConfiguration *bc = target->activeBuildConfiguration();
|
||||
return bc ? bc->macroExpander() : target->macroExpander();
|
||||
});
|
||||
m_expander.registerPrefix("RunConfig:Env", tr("Variables in the run environment"),
|
||||
m_expander.registerPrefix("RunConfig:Env", tr("Variables in the run environment."),
|
||||
[this](const QString &var) {
|
||||
const auto envAspect = aspect<EnvironmentAspect>();
|
||||
return envAspect ? envAspect->environment().expandedValueForKey(var) : QString();
|
||||
});
|
||||
m_expander.registerVariable("RunConfig:WorkingDir",
|
||||
tr("The run configuration's working directory"),
|
||||
tr("The run configuration's working directory."),
|
||||
[this] {
|
||||
const auto wdAspect = aspect<WorkingDirectoryAspect>();
|
||||
return wdAspect ? wdAspect->workingDirectory().toString() : QString();
|
||||
|
||||
Reference in New Issue
Block a user