From 52918332b8e7860e63ec59774bcce2d5ecabb53b Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Tue, 13 Jun 2017 12:45:44 -0700 Subject: mediaplayer: initial BT connection icon Before bluetooth connection can be selected with the BT binding we need an initial state icon. Change-Id: I1ff7a764a15eb06f8bd8e2cd84123d708b46cc7e Bug-AGL: SPEC-637 Signed-off-by: Matt Ranostay --- app/MediaPlayer.qml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index 71bda77..fbd889c 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -273,12 +273,13 @@ ApplicationWindow { } Item { Layout.fillWidth: true } -// Image { -// source: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg' -// } -// Image { -// source: './images/AGL_MediaPlayer_Radio_Inactive.svg' -// } + + ToggleButton { + enabled: false + checked: bluetooth.connected + offImage: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg' + onImage: './images/AGL_MediaPlayer_Bluetooth_Active.svg' + } } } } -- cgit 1.2.3-korg