forked from qt-creator/qt-creator
Use new, more evocative MessageManager API
At various places where semantics doesn't change. Change-Id: Ib4d4a5c9f067e109126c6de88257f9e198a71447 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -571,12 +571,7 @@ ProjectExplorer::RunControl *QmlProfilerTool::attachToWaitingApplication()
|
||||
|
||||
void QmlProfilerTool::logState(const QString &msg)
|
||||
{
|
||||
MessageManager::write(msg, MessageManager::Flash);
|
||||
}
|
||||
|
||||
void QmlProfilerTool::logError(const QString &msg)
|
||||
{
|
||||
MessageManager::write(msg);
|
||||
MessageManager::writeFlashing(msg);
|
||||
}
|
||||
|
||||
void QmlProfilerTool::showErrorDialog(const QString &error)
|
||||
|
||||
@@ -63,7 +63,6 @@ public:
|
||||
|
||||
// display dialogs / log output
|
||||
static void logState(const QString &msg);
|
||||
static void logError(const QString &msg);
|
||||
static void showNonmodalWarning(const QString &warningMsg);
|
||||
|
||||
QmlProfilerClientManager *clientManager();
|
||||
|
||||
Reference in New Issue
Block a user