summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/valgrindprocess.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-04-26 14:59:23 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-04-26 15:40:35 +0000
commita14e7db1a4e9d1173ed9e8cc85585b147ddbaae9 (patch)
tree0a89cd1afab2cce7820c8fac080cfcc68bab21cc /src/plugins/valgrind/valgrindprocess.cpp
parentb688d18de42d67b7f1c8684df801b7ac31ac7031 (diff)
downloadqt-creator-a14e7db1a4e9d1173ed9e8cc85585b147ddbaae9.tar.gz
Fix valgrind with remote Linux hosts.
This reverts commit f1ccad12dc and adds the necessary code to make both the local and the remote case work. Task-number: QTCREATORBUG-16153 Change-Id: I233ec9d7b31ca6e076515dd03ae7400758ee0c34 Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/valgrindprocess.cpp')
-rw-r--r--src/plugins/valgrind/valgrindprocess.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/valgrind/valgrindprocess.cpp b/src/plugins/valgrind/valgrindprocess.cpp
index 83184c5269..b4894f5066 100644
--- a/src/plugins/valgrind/valgrindprocess.cpp
+++ b/src/plugins/valgrind/valgrindprocess.cpp
@@ -205,6 +205,8 @@ void ValgrindProcess::connected()
{
QTC_ASSERT(m_remote.m_connection->state() == QSsh::SshConnection::Connected, return);
+ emit localHostAddressRetrieved(m_remote.m_connection->connectionInfo().localAddress);
+
// connected, run command
QString cmd;