projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce a notification type and add extra notifications for KNotify
[quassel.git]
/
src
/
qtui
/
phononnotificationbackend.cpp
diff --git
a/src/qtui/phononnotificationbackend.cpp
b/src/qtui/phononnotificationbackend.cpp
index
48d1fdb
..
3f029bf
100644
(file)
--- a/
src/qtui/phononnotificationbackend.cpp
+++ b/
src/qtui/phononnotificationbackend.cpp
@@
-47,8
+47,7
@@
PhononNotificationBackend::~PhononNotificationBackend() {
}
void PhononNotificationBackend::notify(const Notification ¬ification) {
- Q_UNUSED(notification)
- if(_enabled && _media) {
+ if(_enabled && _media && (notification.type == Highlight || notification.type == PrivMsg)) {
_media->play();
}
}