forked from qt-creator/qt-creator
QmlProfilerTool: Adjust to MessageManager api change
Change-Id: I250e2b2398be4d692467f1ddb9c5fec8f7ea3be0 Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
@@ -559,13 +559,13 @@ void QmlProfilerTool::startTool(StartMode mode)
|
|||||||
void QmlProfilerTool::logStatus(const QString &msg)
|
void QmlProfilerTool::logStatus(const QString &msg)
|
||||||
{
|
{
|
||||||
MessageManager *messageManager = MessageManager::instance();
|
MessageManager *messageManager = MessageManager::instance();
|
||||||
messageManager->printToOutputPane(msg, false);
|
messageManager->printToOutputPane(msg, Core::MessageManager::Flash);
|
||||||
}
|
}
|
||||||
|
|
||||||
void QmlProfilerTool::logError(const QString &msg)
|
void QmlProfilerTool::logError(const QString &msg)
|
||||||
{
|
{
|
||||||
MessageManager *messageManager = MessageManager::instance();
|
MessageManager *messageManager = MessageManager::instance();
|
||||||
messageManager->printToOutputPane(msg, true);
|
messageManager->printToOutputPane(msg, Core::MessageManager::NoModeSwitch);
|
||||||
}
|
}
|
||||||
|
|
||||||
void QmlProfilerTool::showErrorDialog(const QString &error)
|
void QmlProfilerTool::showErrorDialog(const QString &error)
|
||||||
|
|||||||
Reference in New Issue
Block a user