projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set new application style on saving the appearance settingspage
[quassel.git]
/
src
/
qtui
/
phononnotificationbackend.cpp
diff --git
a/src/qtui/phononnotificationbackend.cpp
b/src/qtui/phononnotificationbackend.cpp
index
27d7afe
..
7006f5e
100644
(file)
--- a/
src/qtui/phononnotificationbackend.cpp
+++ b/
src/qtui/phononnotificationbackend.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
-* Copyright (C) 2005-0
8
by the Quassel Project *
+* Copyright (C) 2005-0
9
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-47,8
+47,8
@@
PhononNotificationBackend::~PhononNotificationBackend() {
}
void PhononNotificationBackend::notify(const Notification ¬ification) {
}
void PhononNotificationBackend::notify(const Notification ¬ification) {
- Q_UNUSED(notification)
- if(_enabled && _media) {
+ if(_enabled && _media && (notification.type == Highlight || notification.type == PrivMsg)) {
+ _media->stop();
_media->play();
}
}
_media->play();
}
}