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 {
id: alertLow
audioRole: MediaPlayer.AlarmRole
volume: 0.5
audioRole: MediaPlayer.NotificationRole
volume: 0.6
autoLoad: true
source: settings.lowAlertFile
}
MediaPlayer {
id: alertHigh
audioRole: MediaPlayer.AlarmRole
volume: 0.5
audioRole: MediaPlayer.NotificationRole
volume: 0.6
autoLoad: true
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.")
previewSummary: summary
previewBody: body
urgency: Notification.Critical
}
Timer {