forked from qt-creator/qt-creator
ProjectExplorer: Let user provide default for "run in terminal"
We enable the "Run in terminal" checkbox for all applications that declare themselves console apps, but that's not necessarily what the user wants. So let them opt out of this mechanism via a global setting. [ChangeLog] There now is a global setting for "Run in terminal". Change-Id: Ieeed72fdd01144d9aec0a7c7d4a12b9e5a94cd1d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -84,8 +84,7 @@ void CMakeRunConfiguration::updateTargetInformation()
|
||||
aspect<LocalEnvironmentAspect>()->buildEnvironmentHasChanged();
|
||||
|
||||
auto terminalAspect = aspect<TerminalAspect>();
|
||||
if (!terminalAspect->isUserSet())
|
||||
terminalAspect->setUseTerminal(bti.usesTerminal);
|
||||
terminalAspect->setUseTerminalHint(bti.usesTerminal);
|
||||
}
|
||||
|
||||
// Factory
|
||||
|
||||
Reference in New Issue
Block a user