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,19 +31,15 @@ ApplicationWindow {
signal navigateTo(string path) signal navigateTo(string path)
Item {
ErrorSound { ErrorSound {
id: errorSound id: errorSound
} }
}
Item {
Audio { Audio {
id: sendMessageSound id: sendMessageSound
audioRole: NotificationRole audioRole: Audio.NotificationRole
source: "../../../../sounds/send_message.wav" source: "../../../../sounds/send_message.wav"
} }
}
Settings { Settings {
id: settings id: settings

View File

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