void PhononNotificationBackend::notify(const Notification ¬ification)
{
if (_enabled && (notification.type == Highlight || notification.type == PrivMsg)) {
- if (_audioAvailable) {
+ if (_audioAvailable && _media) {
_media->stop();
_media->play();
}