Commit 3735f3c4 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

RemoteLinux: Fix possible crash.

We cannot assume that a deploy configuration is present.

Change-Id: I396f630d2ad01f2b17d65c41ad4b2ec587b7e48d

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarChristian Kandeler <>
parent 3de50895
......@@ -284,7 +284,9 @@ QString RemoteLinuxRunConfiguration::localExecutableFilePath() const
QString RemoteLinuxRunConfiguration::remoteExecutableFilePath() const
return deployConfig()->deployables()->remoteExecutableFilePath(localExecutableFilePath());
return deployConfig()
? deployConfig()->deployables()->remoteExecutableFilePath(localExecutableFilePath())
: QString();
PortList RemoteLinuxRunConfiguration::freePorts() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment