application bar blinks when someone pings you (issue 492)
authorkoda
Wed, 27 Mar 2013 12:20:22 +0100
changeset 8797 b7e0b7a18e3a
parent 8795 b5b79a8f9354
child 8799 44e520374cfc
application bar blinks when someone pings you (issue #492)
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);