Fix error: Audio is not a type.
authorCamila Ayres <hello@camilasan.com>
Fri, 13 Sep 2024 09:57:42 +0000 (11:57 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 13 Sep 2024 11:40:45 +0000 (11:40 +0000)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/tray/CallNotificationDialog.qml

index 0ea9cb0f82736823fda56513282970959ce308a2..c2ab360273d82e8c03783367d36f03585afa5933 100644 (file)
@@ -75,11 +75,10 @@ ApplicationWindow {
         onStopNotifying: root.closeNotification()
     }
 
-    Audio {
+    SoundEffect  {
         id: ringSound
         source: root.ringtonePath
         loops: 9 // about 45 seconds of audio playing
-        audioRole: Audio.RingtoneRole
     }
 
     Rectangle {