summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/valgrindprocess.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-01-29 17:22:33 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-01-29 16:27:09 +0000
commit3d9409311f4bca8d951127ac8916d964568571cf (patch)
treea03f407940637470ce9d872905e03325e61f2ac7 /src/plugins/valgrind/valgrindprocess.cpp
parent3d821980314491b68df31df92a24774eb3702db5 (diff)
downloadqt-creator-3d9409311f4bca8d951127ac8916d964568571cf.tar.gz
Valgrind: Quickfix for remote execution.
Lots of stuff is still horribly broken due to the weird confusion between local/remote and "has project"/"does not have project" that crept in at some point, but this at least makes remote, project-specific memcheck work again. Still broken: - Remote callgrind - All remote valgrinds for external projects. - Local remote valgrind is not even available (anymore), as the respective menu entries have disappeared at some point. Change-Id: Iae6b60a0508d1b1b64fd0e0e5f776ea2c2e23598 Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/valgrindprocess.cpp')
-rw-r--r--src/plugins/valgrind/valgrindprocess.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/valgrind/valgrindprocess.cpp b/src/plugins/valgrind/valgrindprocess.cpp
index 34f3c8ee31..2fbb4e2be5 100644
--- a/src/plugins/valgrind/valgrindprocess.cpp
+++ b/src/plugins/valgrind/valgrindprocess.cpp
@@ -42,6 +42,7 @@ ValgrindProcess::ValgrindProcess(bool isLocal, const QSsh::SshConnectionParamete
: QObject(parent),
m_isLocal(isLocal)
{
+ m_isLocal = sshParams.host.isEmpty();
m_remote.m_params = sshParams;
m_remote.m_connection = connection;
m_remote.m_error = QProcess::UnknownError;