forked from qt-creator/qt-creator
ProjectExplorer: Optionally show run environment in app output pane
Fixes: QTCREATORBUG-28427 Change-Id: I1022a377d3728ad5e91fa62514082110b86db9f4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -298,6 +298,13 @@ CommandLine RunConfiguration::commandLine() const
|
||||
return m_commandLineGetter();
|
||||
}
|
||||
|
||||
bool RunConfiguration::isPrintEnvironmentEnabled() const
|
||||
{
|
||||
if (const auto envAspect = aspect<EnvironmentAspect>())
|
||||
return envAspect->isPrintOnRunEnabled();
|
||||
return false;
|
||||
}
|
||||
|
||||
void RunConfiguration::setRunnableModifier(const RunnableModifier &runnableModifier)
|
||||
{
|
||||
m_runnableModifier = runnableModifier;
|
||||
|
||||
Reference in New Issue
Block a user