on xenial help sign in
no need for the substr
797da7bAlbert Astals Cid
qml/Dash/DashBackground.qml+1−1
@@ -19,7 +19,7 @@ import QtQuick.Window 2.2
19import Ubuntu.Thumbnailer 0.1
19import Ubuntu.Thumbnailer 0.1
20
20
21Image {
21Image {
22− source: "image://thumbnailer/" + Qt.resolvedUrl("graphics/paper.png").substr(7) // 7 is file://
22+ source: "image://thumbnailer/" + Qt.resolvedUrl("graphics/paper.png")
23 fillMode: Image.PreserveAspectCrop
23 fillMode: Image.PreserveAspectCrop
24 horizontalAlignment: Image.AlignRight
24 horizontalAlignment: Image.AlignRight
25 verticalAlignment: Image.AlignTop
25 verticalAlignment: Image.AlignTop