¨Anthony 4c55ad26bb fix(@desktop/settings): Fix precision of volume
Also move soundtrack in assets and reuse audio component
2021-10-13 14:26:04 -04:00

13 lines
289 B
QML

import QtQuick 2.13
import QtMultimedia 5.13
Audio {
id: audio
property string track: "error.mp3"
source: Qt.resolvedUrl("./../assets/audio" + track)
audioRole: Audio.NotificationRole
volume: appSettings.volume
muted: !appSettings.notificationSoundsEnabled
}