diff --git a/src/widget/widget.cpp b/src/widget/widget.cpp index 8ee6fe007..e32f316ce 100644 --- a/src/widget/widget.cpp +++ b/src/widget/widget.cpp @@ -949,11 +949,11 @@ void Widget::playNotificationSound(IAudioSink::Sound sound, bool loop) connect(audioNotification.get(), &IAudioSink::finishedPlaying, this, &Widget::cleanupNotificationSound); + audioNotification->playMono16Sound(sound); + if (loop) { audioNotification->startLoop(); } - - audioNotification->playMono16Sound(sound); } void Widget::cleanupNotificationSound()