Adjust alert role and volume, increase notification urgency

This commit is contained in:
Matti Viljanen 2019-01-29 01:28:44 +02:00
parent 7d2e964e5a
commit 0eb199de67
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -38,16 +38,16 @@ Page {
MediaPlayer { MediaPlayer {
id: alertLow id: alertLow
audioRole: MediaPlayer.AlarmRole audioRole: MediaPlayer.NotificationRole
volume: 0.5 volume: 0.6
autoLoad: true autoLoad: true
source: settings.lowAlertFile source: settings.lowAlertFile
} }
MediaPlayer { MediaPlayer {
id: alertHigh id: alertHigh
audioRole: MediaPlayer.AlarmRole audioRole: MediaPlayer.NotificationRole
volume: 0.5 volume: 0.6
autoLoad: true autoLoad: true
source: settings.highAlertFile source: settings.highAlertFile
} }
@ -61,6 +61,7 @@ Page {
body: test ? qsTr("This is a test.") : battery.charging ? qsTr("Please disconnect the charger.") : qsTr("Please connect the charger.") body: test ? qsTr("This is a test.") : battery.charging ? qsTr("Please disconnect the charger.") : qsTr("Please connect the charger.")
previewSummary: summary previewSummary: summary
previewBody: body previewBody: body
urgency: Notification.Critical
} }
Timer { Timer {