Introduce a notification type and add extra notifications for KNotify
[quassel.git] / src / qtui / phononnotificationbackend.cpp
index 48d1fdb..3f029bf 100644 (file)
@@ -47,8 +47,7 @@ PhononNotificationBackend::~PhononNotificationBackend() {
 }
 
 void PhononNotificationBackend::notify(const Notification &notification) {
-  Q_UNUSED(notification)
-  if(_enabled && _media) {
+  if(_enabled && _media && (notification.type == Highlight || notification.type == PrivMsg)) {
     _media->play();
   }
 }