diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-05-08 12:41:25 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-05-08 12:41:25 +0200 |
commit | 4545c81e570c477ae8821531dcfd593e09f950b0 (patch) | |
tree | f756738ffaf55210a2aa1596407eeed94e504ae7 /src/plugins/remotelinux/remotelinuxcustomrunconfiguration.cpp | |
parent | d0839bc1de52acd0902364565b6f9d030e591646 (diff) | |
parent | 75e408584ac9a60c3a4dd714f5620814485fcdca (diff) |
Merge remote-tracking branch 'origin/4.9'
Conflicts:
doc/src/howto/creator-sidebar-views.qdoc
doc/src/howto/creator-ui.qdoc
qbs/modules/qtc/qtc.qbs
qtcreator.pri
src/plugins/autotest/testresultmodel.cpp
src/plugins/autotest/testresultmodel.h
Change-Id: I24cc585ca7782cb1d9cb0b8b73b46892b41937fd
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxcustomrunconfiguration.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxcustomrunconfiguration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/remotelinuxcustomrunconfiguration.cpp b/src/plugins/remotelinux/remotelinuxcustomrunconfiguration.cpp index 1d492b88e20..a375716aab3 100644 --- a/src/plugins/remotelinux/remotelinuxcustomrunconfiguration.cpp +++ b/src/plugins/remotelinux/remotelinuxcustomrunconfiguration.cpp @@ -105,8 +105,8 @@ QString RemoteLinuxCustomRunConfiguration::runConfigDefaultDisplayName() Runnable RemoteLinuxCustomRunConfiguration::runnable() const { ProjectExplorer::Runnable r = RunConfiguration::runnable(); - r.extraData.insert("Ssh.X11ForwardToDisplay", - aspect<X11ForwardingAspect>()->display(macroExpander())); + if (const auto * const forwardingAspect = aspect<X11ForwardingAspect>()) + r.extraData.insert("Ssh.X11ForwardToDisplay", forwardingAspect->display(macroExpander())); return r; } |