Valgrind: Do not reset events on pause

Change-Id: I28c5e1ab63f4af8d5474d889efc6fcbed9513bb9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2014-11-02 17:56:43 +02:00
committed by Orgad Shaneh
parent 390afc104d
commit 75987e1b72

View File

@@ -171,9 +171,7 @@ void CallgrindController::processFinished(int rc, QProcess::ExitStatus status)
run(Dump);
return;
case Pause:
// on pause, reset profiling info (for now)
run(ResetEventCounters);
return;
break;
case Dump:
emit statusMessage(tr("Callgrind dumped profiling info"));
break;