forked from qt-creator/qt-creator
ProjectExplorer: Make more aspects directly usable in AspectContainers
Change-Id: I6634c27c8d516411ad84e6cb7c361262ead53124 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -209,8 +209,10 @@ PythonRunConfiguration::PythonRunConfiguration(Target *target, Id id)
|
||||
|
||||
addAspect<TerminalAspect>();
|
||||
|
||||
if (HostOsInfo::isAnyUnixHost())
|
||||
addAspect<X11ForwardingAspect>(macroExpander());
|
||||
if (HostOsInfo::isAnyUnixHost()) {
|
||||
auto x11Forwarding = addAspect<X11ForwardingAspect>();
|
||||
x11Forwarding->setMacroExpander(macroExpander());
|
||||
}
|
||||
|
||||
setCommandLineGetter([bufferedAspect, interpreterAspect, argumentsAspect, scriptAspect] {
|
||||
CommandLine cmd{interpreterAspect->currentInterpreter().command};
|
||||
|
||||
Reference in New Issue
Block a user