# HG changeset patch
# User koda
# Date 1364383222 -3600
# Node ID b7e0b7a18e3a5aa306804f20d94d3be88fa458f7
# Parent  b5b79a8f9354bbb455a24b373e9b9c294f0ec396
application bar blinks when someone pings you (issue 492)

diff -r b5b79a8f9354 -r b7e0b7a18e3a QTfrontend/ui/widget/chatwidget.cpp
--- a/QTfrontend/ui/widget/chatwidget.cpp	Wed Mar 27 11:18:00 2013 +0100
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Wed Mar 27 12:20:22 2013 +0100
@@ -37,7 +37,7 @@
 #include "hwconsts.h"
 #include "gameuiconfig.h"
 #include "playerslistmodel.h"
-
+#include "HWApplication.h"
 #include "chatwidget.h"
 
 
@@ -464,6 +464,7 @@
     {
         line = QString("<span class=\"highlight\">%1</span>").arg(line);
         SDLInteraction::instance().playSoundFile(m_hilightSound);
+        HWApplication::alert(this, 800);
     }
 
     chatStrings.append(line);