From 17068c8c18d4ec516b6ad8735398e9714dca1f85 Mon Sep 17 00:00:00 2001 From: Louis-Joseph Fournier Date: Sat, 9 Jan 2016 10:12:16 +0100 Subject: [PATCH] Desktop program with Jolla background also --- images/{bg_portait.png => bg_portrait.png} | Bin images/images.qrc | 1 + qml/Desktop.qml | 11 ++++++++--- qml/Scene.qml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) rename images/{bg_portait.png => bg_portrait.png} (100%) diff --git a/images/bg_portait.png b/images/bg_portrait.png similarity index 100% rename from images/bg_portait.png rename to images/bg_portrait.png diff --git a/images/images.qrc b/images/images.qrc index 2a3ddc0..a32a726 100644 --- a/images/images.qrc +++ b/images/images.qrc @@ -1,5 +1,6 @@ icon-m-pause.svg +bg_portrait.png diff --git a/qml/Desktop.qml b/qml/Desktop.qml index 76d92e9..942c1d8 100644 --- a/qml/Desktop.qml +++ b/qml/Desktop.qml @@ -41,10 +41,15 @@ Item { id: theme } - TunerScreen { + Image { anchors.fill: parent - theme: theme - tuner: tuner + source: "../images/bg_portrait.png" + + TunerScreen { + anchors.fill: parent + theme: theme + tuner: tuner + } } MouseArea { diff --git a/qml/Scene.qml b/qml/Scene.qml index 0398184..1e54f4d 100644 --- a/qml/Scene.qml +++ b/qml/Scene.qml @@ -26,7 +26,7 @@ Image { width: 800 height: 400 - source: "../images/bg_portait.png" + source: "../images/bg_portrait.png" DesktopTheme { id: theme