QmlJS: Flash the console when warnings are printed.

Change-Id: I9333e9d20a8d742ef0a0fcf2164bc6a127f77768
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-11-19 14:00:44 +01:00
committed by hjk
parent 2f44c0e843
commit ee6399fd2e

View File

@@ -97,6 +97,8 @@ void QmlConsoleManager::printToConsolePane(ConsoleItem::ItemType itemType,
if (bringToForeground)
d->qmlConsolePane->popup(Core::IOutputPane::ModeSwitch);
d->qmlConsoleItemModel->appendMessage(itemType, text);
if (itemType == ConsoleItem::WarningType)
d->qmlConsolePane->flash();
}
void QmlConsoleManager::printToConsolePane(ConsoleItem *item, bool bringToForeground)