From e75b88cd7c1b08e443434da8cb0740145d5f741a Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 10 Mar 2016 22:38:24 +0200 Subject: Valgrind: Do not open a terminal for callgrind control Change-Id: I22892d43abc341703a2d046dc1d3b9bf4b736394 Reviewed-by: hjk --- src/plugins/valgrind/valgrindprocess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/valgrind/valgrindprocess.cpp') diff --git a/src/plugins/valgrind/valgrindprocess.cpp b/src/plugins/valgrind/valgrindprocess.cpp index acffe745f4..83184c5269 100644 --- a/src/plugins/valgrind/valgrindprocess.cpp +++ b/src/plugins/valgrind/valgrindprocess.cpp @@ -111,7 +111,7 @@ void ValgrindProcess::close() } } -void ValgrindProcess::run() +void ValgrindProcess::run(ApplicationLauncher::Mode runMode) { if (isLocal()) { connect(&m_localProcess, &ApplicationLauncher::processExited, @@ -125,7 +125,7 @@ void ValgrindProcess::run() StandardRunnable valgrind; valgrind.executable = m_valgrindExecutable; - valgrind.runMode = m_debuggee.runMode; + valgrind.runMode = runMode; valgrind.commandLineArguments = argumentString(Utils::HostOsInfo::hostOs()); valgrind.workingDirectory = m_debuggee.workingDirectory; valgrind.environment = m_debuggee.environment; -- cgit v1.2.1