forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user