forked from qt-creator/qt-creator
Valgrind: Do not open a terminal for callgrind control
Change-Id: I22892d43abc341703a2d046dc1d3b9bf4b736394 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
b62ae63fc2
commit
e75b88cd7c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user