13 lines
289 B
QML
Raw Normal View History

import QtQuick 2.13
import QtMultimedia 5.13
Audio {
id: audio
property string track: "error.mp3"
source: Qt.resolvedUrl("./../assets/audio" + track)
2020-07-10 14:31:12 -04:00
audioRole: Audio.NotificationRole
volume: appSettings.volume
muted: !appSettings.notificationSoundsEnabled
}