2020-06-30 20:01:37 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtMultimedia 5.13
|
|
|
|
|
|
|
|
Audio {
|
2021-10-11 12:41:42 +00:00
|
|
|
id: audio
|
|
|
|
|
2021-12-08 21:20:43 +00:00
|
|
|
property var store
|
2021-10-11 12:41:42 +00:00
|
|
|
property string track: "error.mp3"
|
|
|
|
|
|
|
|
source: Qt.resolvedUrl("./../assets/audio" + track)
|
2020-07-10 18:31:12 +00:00
|
|
|
audioRole: Audio.NotificationRole
|
2021-12-08 21:20:43 +00:00
|
|
|
volume: store.volume
|
|
|
|
muted: !store.notificationSoundsEnabled
|
2021-10-20 09:50:50 +00:00
|
|
|
}
|