diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 9b265b9..6923cba 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -36,19 +36,16 @@ Page { } } - MediaPlayer { + SoundEffect { id: alertLow - audioRole: MediaPlayer.NotificationRole volume: 0.6 - autoLoad: true source: settings.lowAlertFile + } - MediaPlayer { + SoundEffect { id: alertHigh - audioRole: MediaPlayer.NotificationRole volume: 0.6 - autoLoad: true source: settings.highAlertFile }