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
=== modified file 'plugins/bluetooth/PageComponent.qml'
--- plugins/bluetooth/PageComponent.qml 2014-08-26 17:15:57 +0000
+++ plugins/bluetooth/PageComponent.qml 2014-09-23 19:34:04 +0000
@@ -222,9 +222,10 @@
222 left: parent.left222 left: parent.left
223 right: parent.right223 right: parent.right
224 }224 }
225 visible: bluetoothActionGroup.enabled && (count > 0)225 visible: bluetoothActionGroup.enabled && (connectedRepeater.count > 0)
226226
227 Repeater {227 Repeater {
228 id: connectedRepeater
228 model: backend.connectedDevices229 model: backend.connectedDevices
229 delegate: ListItem.Standard {230 delegate: ListItem.Standard {
230 iconSource: iconPath231 iconSource: iconPath
@@ -261,9 +262,10 @@
261 left: parent.left262 left: parent.left
262 right: parent.right263 right: parent.right
263 }264 }
264 visible: bluetoothActionGroup.enabled && (count > 0)265 visible: bluetoothActionGroup.enabled && (disconnectedRepeater.count > 0)
265266
266 Repeater {267 Repeater {
268 id: disconnectedRepeater
267 model: backend.disconnectedDevices269 model: backend.disconnectedDevices
268 delegate: ListItem.Standard {270 delegate: ListItem.Standard {
269 iconSource: iconPath271 iconSource: iconPath
@@ -299,9 +301,10 @@
299 right: parent.right301 right: parent.right
300 }302 }
301303
302 visible: bluetoothActionGroup.enabled && (count > 0)304 visible: bluetoothActionGroup.enabled && (autoconnectRepeater.count > 0)
303305
304 Repeater {306 Repeater {
307 id: autoconnectRepeater
305 model: backend.autoconnectDevices308 model: backend.autoconnectDevices
306 delegate: ListItem.Standard {309 delegate: ListItem.Standard {
307 iconSource: iconPath310 iconSource: iconPath

Subscribers

People subscribed via source and target branches