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:
@@ -166,8 +166,10 @@ QmlProjectRunConfiguration::QmlProjectRunConfiguration(Target *target, Id id)
|
||||
return envModifier(environment);
|
||||
});
|
||||
|
||||
if (HostOsInfo::isAnyUnixHost())
|
||||
addAspect<X11ForwardingAspect>(macroExpander());
|
||||
if (HostOsInfo::isAnyUnixHost()) {
|
||||
auto x11Forwarding = addAspect<X11ForwardingAspect>();
|
||||
x11Forwarding->setMacroExpander(macroExpander());
|
||||
}
|
||||
|
||||
setRunnableModifier([this](Runnable &r) {
|
||||
const QmlBuildSystem *bs = static_cast<QmlBuildSystem *>(activeBuildSystem());
|
||||
|
||||
Reference in New Issue
Block a user