Fixes for valgrind-callgrind feedback by Nokia

Most changes include style fixes and UI changes for better usability.

Merge-request: 324
Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
Kevin Funk
2011-05-11 16:26:34 +02:00
committed by hjk
parent f5601d7b1b
commit bf1f5c2b02
44 changed files with 429 additions and 234 deletions

View File

@@ -126,11 +126,13 @@ void CallgrindEngine::setPaused(bool paused)
m_markAsPaused = paused;
// call controller
if (paused)
pause();
else
unpause();
// call controller only if it is attached to a valgrind process
if (m_runner.controller()->valgrindProcess()) {
if (paused)
pause();
else
unpause();
}
}
void CallgrindEngine::setToggleCollectFunction(const QString &toggleCollectFunction)