Valgrind: Show status messages permanently.

There is no reason for these messages to fade away after a while.

Change-Id: I6dcf199af87df77b6d65e267a45f5553c85bc952
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Kandeler
2015-07-01 12:44:45 +02:00
parent 3e4ebb1b9f
commit 2b613ef7be
3 changed files with 6 additions and 6 deletions

View File

@@ -834,7 +834,7 @@ void CallgrindToolPrivate::engineFinished()
if (data)
showParserResults(data);
else
AnalyzerManager::showStatusMessage(CallgrindToolId, tr("Profiling aborted."));
AnalyzerManager::showPermanentStatusMessage(CallgrindToolId, tr("Profiling aborted."));
setBusyCursor(false);
}
@@ -853,7 +853,7 @@ void CallgrindToolPrivate::showParserResults(const ParseData *data)
} else {
msg = tr("Parsing failed.");
}
AnalyzerManager::showStatusMessage(CallgrindToolId, msg);
AnalyzerManager::showPermanentStatusMessage(CallgrindToolId, msg);
}
void CallgrindToolPrivate::editorOpened(IEditor *editor)
@@ -918,7 +918,7 @@ void CallgrindToolPrivate::loadExternalLogFile()
return;
}
AnalyzerManager::showStatusMessage(CallgrindToolId, tr("Parsing Profile Data..."));
AnalyzerManager::showPermanentStatusMessage(CallgrindToolId, tr("Parsing Profile Data..."));
QCoreApplication::processEvents();
Parser parser;