Merge lp:~ken-vandine/ubuntu-system-settings/lp1362517 into lp:ubuntu-system-settings

Proposed by Ken VanDine
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 1065
Merged at revision: 1070
Proposed branch: lp:~ken-vandine/ubuntu-system-settings/lp1362517
Merge into: lp:ubuntu-system-settings
Diff against target: 39 lines (+6/-3)
1 file modified
plugins/bluetooth/PageComponent.qml (+6/-3)
To merge this branch: bzr merge lp:~ken-vandine/ubuntu-system-settings/lp1362517
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Sebastien Bacher (community) Approve
Review via email: mp+235707@code.launchpad.net

Commit message

Fixed reference error for count on the various device models (LP: #1362517)

Description of the change

Fixed reference error for count on the various device models (LP: #1362517)

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/bluetooth/PageComponent.qml'
2--- plugins/bluetooth/PageComponent.qml 2014-08-26 17:15:57 +0000
3+++ plugins/bluetooth/PageComponent.qml 2014-09-23 19:34:04 +0000
4@@ -222,9 +222,10 @@
5 left: parent.left
6 right: parent.right
7 }
8- visible: bluetoothActionGroup.enabled && (count > 0)
9+ visible: bluetoothActionGroup.enabled && (connectedRepeater.count > 0)
10
11 Repeater {
12+ id: connectedRepeater
13 model: backend.connectedDevices
14 delegate: ListItem.Standard {
15 iconSource: iconPath
16@@ -261,9 +262,10 @@
17 left: parent.left
18 right: parent.right
19 }
20- visible: bluetoothActionGroup.enabled && (count > 0)
21+ visible: bluetoothActionGroup.enabled && (disconnectedRepeater.count > 0)
22
23 Repeater {
24+ id: disconnectedRepeater
25 model: backend.disconnectedDevices
26 delegate: ListItem.Standard {
27 iconSource: iconPath
28@@ -299,9 +301,10 @@
29 right: parent.right
30 }
31
32- visible: bluetoothActionGroup.enabled && (count > 0)
33+ visible: bluetoothActionGroup.enabled && (autoconnectRepeater.count > 0)
34
35 Repeater {
36+ id: autoconnectRepeater
37 model: backend.autoconnectDevices
38 delegate: ListItem.Standard {
39 iconSource: iconPath

Subscribers

People subscribed via source and target branches