fix audio qml tags

This commit is contained in:
Iuri Matias 2020-07-10 14:31:12 -04:00
parent 91cf1682b1
commit 4ffae4519f
2 changed files with 7 additions and 11 deletions

View File

@ -31,18 +31,14 @@ ApplicationWindow {
signal navigateTo(string path)
Item {
ErrorSound {
id: errorSound
}
ErrorSound {
id: errorSound
}
Item {
Audio {
id: sendMessageSound
audioRole: NotificationRole
source: "../../../../sounds/send_message.wav"
}
Audio {
id: sendMessageSound
audioRole: Audio.NotificationRole
source: "../../../../sounds/send_message.wav"
}
Settings {

View File

@ -4,7 +4,7 @@ import QtMultimedia 5.13
Audio {
id: errorSound
source: "./error.mp3"
audioRole: NotificationRole
audioRole: Audio.NotificationRole
}
/*##^##