Merge lp:~ssweeny/friends-app/lp1261438 into lp:friends-app

Proposed by Scott Sweeny
Status: Merged
Approved by: Robert Bruce Park
Approved revision: 140
Merged at revision: 141
Proposed branch: lp:~ssweeny/friends-app/lp1261438
Merge into: lp:friends-app
Diff against target: 13 lines (+0/-3)
1 file modified
qml/Post.qml (+0/-3)
To merge this branch: bzr merge lp:~ssweeny/friends-app/lp1261438
Reviewer Review Type Date Requested Status
Kai Mast (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Super Friends Pending
Review via email: mp+206656@code.launchpad.net

Commit message

Remove iconSource definition from accountDelegate

According to [1] if both iconName and iconSource are defined iconName is ignored. Also, iconSource was apparently not being defined correctly which resulted in no icons being shown in the post screen anyway.

[1] http://developer.ubuntu.com/api/qml/sdk-14.04/Ubuntu.Components.ListItems.Standard/#iconName-prop

Description of the change

Remove iconSource definition from accountDelegate

According to [1] if both iconName and iconSource are defined iconName is ignored. Also, iconSource was apparently not being defined correctly which resulted in no icons being shown in the post screen anyway.

[1] http://developer.ubuntu.com/api/qml/sdk-14.04/Ubuntu.Components.ListItems.Standard/#iconName-prop

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Kai Mast (kai-mast) wrote :

Just tested this (on Desktop) and this really resolves the isusue for me. Yay!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Post.qml'
2--- qml/Post.qml 2014-01-24 12:47:22 +0000
3+++ qml/Post.qml 2014-02-17 05:46:43 +0000
4@@ -251,9 +251,6 @@
5 }
6 }
7
8- //Show no icon if none is available
9- iconSource: iconName.length > 0 ? "image://gicon/"+iconName : ""
10-
11 control: CheckBox {
12 id: sw
13 checked: sendEnabled

Subscribers

People subscribed via source and target branches

to all changes: