added more playsound stuff

This commit is contained in:
apa420
2018-08-24 18:05:36 +02:00
parent 8d5b93fe82
commit e58e76ef1e
5 changed files with 43 additions and 22 deletions
@@ -81,9 +81,9 @@ void NotificationController::playSound()
static QUrl currentPlayerUrl;
QUrl highlightSoundUrl;
if (getApp()->settings->customHighlightSound) {
if (getApp()->settings->notificationCustomSound) {
highlightSoundUrl = QUrl::fromLocalFile(
getApp()->settings->pathHighlightSound.getValue());
getApp()->settings->notificationPathSound.getValue());
} else {
highlightSoundUrl = QUrl("qrc:/sounds/ping2.wav");
}