forked from qt-creator/qt-creator
Valgrind: Do not reset events on pause
Change-Id: I28c5e1ab63f4af8d5474d889efc6fcbed9513bb9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
390afc104d
commit
75987e1b72
@@ -171,9 +171,7 @@ void CallgrindController::processFinished(int rc, QProcess::ExitStatus status)
|
|||||||
run(Dump);
|
run(Dump);
|
||||||
return;
|
return;
|
||||||
case Pause:
|
case Pause:
|
||||||
// on pause, reset profiling info (for now)
|
break;
|
||||||
run(ResetEventCounters);
|
|
||||||
return;
|
|
||||||
case Dump:
|
case Dump:
|
||||||
emit statusMessage(tr("Callgrind dumped profiling info"));
|
emit statusMessage(tr("Callgrind dumped profiling info"));
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user