diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-01-29 17:22:33 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-01-29 16:27:09 +0000 |
commit | 3d9409311f4bca8d951127ac8916d964568571cf (patch) | |
tree | a03f407940637470ce9d872905e03325e61f2ac7 /src/plugins/valgrind/valgrindprocess.cpp | |
parent | 3d821980314491b68df31df92a24774eb3702db5 (diff) | |
download | qt-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.cpp | 1 |
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; |