Valgrind: Do not open a terminal for callgrind control

Change-Id: I22892d43abc341703a2d046dc1d3b9bf4b736394
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-03-10 22:38:24 +02:00
committed by Orgad Shaneh
parent b62ae63fc2
commit e75b88cd7c
4 changed files with 5 additions and 5 deletions

View File

@@ -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;