Merge lp:~xnox/ubuntu-calculator-app/fix-missing-trash.png into lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk

Proposed by Dimitri John Ledkov
Status: Merged
Approved by: Riccardo Padovani
Approved revision: 219
Merged at revision: 219
Proposed branch: lp:~xnox/ubuntu-calculator-app/fix-missing-trash.png
Merge into: lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk
Diff against target: 23 lines (+2/-2)
1 file modified
Simple/Screen.qml (+2/-2)
To merge this branch: bzr merge lp:~xnox/ubuntu-calculator-app/fix-missing-trash.png
Reviewer Review Type Date Requested Status
Riccardo Padovani Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+207790@code.launchpad.net

Commit message

Fix failure to load trash.png.

Description of the change

Fix failure to load trash.png.

To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Without this loading the app crashes.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Riccardo Padovani (rpadovani) wrote :

Sorry Dimitri, I understand your patch, but I don't understand what's the problem. Where do you find problems? I'm able to start calc both on mako and on Saucy on desktop, and there is always the trash icon.

review: Needs Information
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

if one builds click using clickbuddy/cmake, only the generated pngs from
nested directory are included. the svgs and trash.png from top level source
tree are not. thus i move trash.png in the same location as the rest of
generated pngs such that all of them are in a single location and accesible
from either source tree, deb, click, or cmake built click.
On 22 Feb 2014 17:50, "Riccardo Padovani" <email address hidden> wrote:

> Review: Needs Information
>
> Sorry Dimitri, I understand your patch, but I don't understand what's the
> problem. Where do you find problems? I'm able to start calc both on mako
> and on Saucy on desktop, and there is always the trash icon.
> --
>
> https://code.launchpad.net/~xnox/ubuntu-calculator-app/fix-missing-trash.png/+merge/207790
> You are the owner of lp:~xnox/ubuntu-calculator-app/fix-missing-trash.png.
>

Revision history for this message
Riccardo Padovani (rpadovani) wrote :

Gothca, thanks for the explanation!

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Simple/Screen.qml'
2--- Simple/Screen.qml 2014-02-09 11:33:54 +0000
3+++ Simple/Screen.qml 2014-02-22 14:02:15 +0000
4@@ -46,7 +46,7 @@
5 height: units.gu(4)
6 Image {
7 anchors.centerIn: parent
8- source: Qt.resolvedUrl("../images/trash.png")
9+ source: Qt.resolvedUrl("images/trash.png")
10 width: units.gu(2)
11 height: units.gu(2)
12 }
13@@ -78,7 +78,7 @@
14 height: units.gu(4)
15 Image {
16 anchors.centerIn: parent
17- source: Qt.resolvedUrl("../images/trash.png")
18+ source: Qt.resolvedUrl("images/trash.png")
19 width: units.gu(2)
20 height: units.gu(2)
21 }
22
23=== renamed file 'images/trash.png' => 'Simple/images/trash.png'

Subscribers

People subscribed via source and target branches