Support flashing output pane button.

- Add API to IOutputPane to 'flash' the panel button, if it is not open.
- Flash panel button when an error is added.

Change-Id: I842a1d789f28111be85bf4ffc1daf497bfbdc809
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Francois Ferrand
2012-06-11 10:32:16 +02:00
committed by Daniel Teske
parent fbff83d1bf
commit 54569d5931
4 changed files with 57 additions and 4 deletions

View File

@@ -379,6 +379,11 @@ void TaskWindow::addTask(const Task &task)
emit tasksChanged();
navigateStateChanged();
if (task.type == Task::Error && d->m_filter->filterIncludesErrors() &&
!d->m_filter->filteredCategories().contains(task.category)) {
flash();
}
}
void TaskWindow::removeTask(const Task &task)