aboutsummaryrefslogtreecommitdiffstats
path: root/sysui
diff options
context:
space:
mode:
authorGrigorii Zimin <gzimin@luxoft.com>2020-01-24 15:02:58 +0300
committerEgor Nemtsev <enemtsev@luxoft.com>2020-01-24 15:35:27 +0000
commit3eb1e3491c937da7f2d23209eab3b612b374c7a6 (patch)
treef40c113f00ebbd05c86845fdc481d422fe2af7a0 /sysui
parent44a8c559d0a8155fd863fa7c4b394d2c45f2a183 (diff)
Synchronize volume on start-up
Fixes: AUTOSUITE-1397 Change-Id: Iccf0e6170f6ce05f7c385e0ae0d23407c5e623b4 Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
Diffstat (limited to 'sysui')
-rw-r--r--sysui/stores/VolumeStore.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysui/stores/VolumeStore.qml b/sysui/stores/VolumeStore.qml
index 272d733a..0ea33884 100644
--- a/sysui/stores/VolumeStore.qml
+++ b/sysui/stores/VolumeStore.qml
@@ -36,7 +36,12 @@ import QtIvi.Media 1.0
QtObject {
id: root
- readonly property MediaPlayer player: MediaPlayer { id: player }
+ readonly property MediaPlayer player: MediaPlayer {
+ id: player
+ Component.onCompleted: {
+ player.volume = root.volume;
+ }
+ }
property var uiSettings