From 2a78d157929ecb58e35d47a2ae42b34051b36b8c Mon Sep 17 00:00:00 2001 From: Matt Lowe Date: Thu, 29 Jan 2015 10:27:16 +0100 Subject: [PATCH] Taskbar attention when mentioned --- cockatrice/src/chatview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cockatrice/src/chatview.cpp b/cockatrice/src/chatview.cpp index ff36a091..f93980e8 100644 --- a/cockatrice/src/chatview.cpp +++ b/cockatrice/src/chatview.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include "chatview.h" #include "user_level.h" #include "user_context_menu.h" @@ -196,6 +197,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use if (message.toLower().startsWith(mention)) { cursor.insertText("@" + userName, mentionFormat); message = message.mid(mention.size()); + QApplication::alert(this); } // another user has been mentioned else {