diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2016-03-10 22:38:24 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-03-11 09:26:06 +0000 |
commit | e75b88cd7c1b08e443434da8cb0740145d5f741a (patch) | |
tree | 18eb2373f324c63f6f8ee2252080065ddba848ab /src/plugins/valgrind/valgrindprocess.cpp | |
parent | b62ae63fc2778194914b3c819da1a779c1bafd48 (diff) | |
download | qt-creator-e75b88cd7c1b08e443434da8cb0740145d5f741a.tar.gz |
Valgrind: Do not open a terminal for callgrind control
Change-Id: I22892d43abc341703a2d046dc1d3b9bf4b736394
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/valgrindprocess.cpp')
-rw-r--r-- | src/plugins/valgrind/valgrindprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |