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

@@ -128,7 +128,7 @@ void CallgrindController::run(Option option)
const int pid = Utils::HostOsInfo::isWindowsHost() ? 0 : m_valgrindProc->pid();
m_process->setValgrindExecutable(CALLGRIND_CONTROL_BINARY);
m_process->setValgrindArguments(QStringList() << optionString << QString::number(pid));
m_process->run();
m_process->run(ProjectExplorer::ApplicationLauncher::Gui);
}
void CallgrindController::processError(QProcess::ProcessError)