On 08.01.2014 08:38, Victor Palau wrote:
You still need to use Qt.resolveurl with image://theme. Works for me on
a ToobarButton on the device.

No, Qt.resolvedUrl() only works on relative paths, to convert from local (as in current-file-relative) to absolute paths. image://theme/foo is an absolute url, so no resolving necessary.

To confirm, you can always console.log(url, Qt.resolvedUrl(url)) and see that it's not touched.

http://qt-project.org/doc/qt-5.0/qtqml/qml-qt.html#resolvedUrl-method
--
Michał (Saviq) Sawicz <michal.saw...@canonical.com>
Canonical Services Ltd.

--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to