QmlProfilerTool: Adjust to MessageManager api change

Change-Id: I250e2b2398be4d692467f1ddb9c5fec8f7ea3be0
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
Daniel Teske
2013-03-12 16:58:56 +01:00
parent 9996c8e66f
commit a60e8fa4f7

View File

@@ -559,13 +559,13 @@ void QmlProfilerTool::startTool(StartMode mode)
void QmlProfilerTool::logStatus(const QString &msg)
{
MessageManager *messageManager = MessageManager::instance();
messageManager->printToOutputPane(msg, false);
messageManager->printToOutputPane(msg, Core::MessageManager::Flash);
}
void QmlProfilerTool::logError(const QString &msg)
{
MessageManager *messageManager = MessageManager::instance();
messageManager->printToOutputPane(msg, true);
messageManager->printToOutputPane(msg, Core::MessageManager::NoModeSwitch);
}
void QmlProfilerTool::showErrorDialog(const QString &error)