diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-07-05 22:31:11 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-07-18 15:59:42 +0000 |
commit | 213feb8d7c8c1d4ef75fc72df38e598c1ff44458 (patch) | |
tree | 030902de3cd3cfd1f5cc9a6444284ba767c6bf1c /app/MediaPlayer.qml | |
parent | 6b352866f2105d52a9d4ed66d44002ac806bfe66 (diff) |
qml: bluetooth: don't display icon unless connectiondab_3.99.3dab/3.99.33.99.3
Don't display the bluetooth ToggleButton unless there is a valid
avrcp/a2dp connection.
Bug-AGL: SPEC-730
Change-Id: Ifd68fd1380bef5a471aafb7687c0cefe62b68e6f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
(cherry picked from commit ba403bb3f5c8ce49b1db5ddc51717a2fe957bafd)
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r-- | app/MediaPlayer.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index 8eb10f3..77538a6 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -225,7 +225,7 @@ ApplicationWindow { Item { Layout.fillWidth: true } ToggleButton { - enabled: bluetooth.connected + visible: bluetooth.connected checked: bluetooth.av_connected offImage: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg' onImage: './images/AGL_MediaPlayer_Bluetooth_Active.svg' |