forked from qt-creator/qt-creator
QmlJS: Flash the console when warnings are printed.
Change-Id: I9333e9d20a8d742ef0a0fcf2164bc6a127f77768 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user