on xenial help sign in
remove the unused bg image
184f5a1Lukáš Tinkl
qml/Wizard/Wizard.qml−9
@@ -22,9 +22,6 @@ import "../Components"
22Showable {
22Showable {
23 id: root
23 id: root
24
24
25− // The background wallpaper to use
26− property string background
27−
28 // This is a bool instead of an alias because Loader classes like to emit
25 // This is a bool instead of an alias because Loader classes like to emit
29 // changed signals for 'active' during startup even if they aren't actually
26 // changed signals for 'active' during startup even if they aren't actually
30 // changing values. Having it cached as a proper Qml bool property prevents
27 // changing values. Having it cached as a proper Qml bool property prevents
@@ -46,12 +43,6 @@ Showable {
46 active: System.wizardEnabled
43 active: System.wizardEnabled
47 source: "Pages.qml"
44 source: "Pages.qml"
48
45
49− Binding {
50− target: loader.item
51− property: "background"
52− value: root.background
53− }
54−
55 Connections {
46 Connections {
56 target: loader.item
47 target: loader.item
57 onQuit: root.hide()
48 onQuit: root.hide()
tests/qmltests/Wizard/tst_Wizard.qml−1
@@ -39,7 +39,6 @@ Item {
39 Wizard {
39 Wizard {
40 id: wizard
40 id: wizard
41 anchors.fill: parent
41 anchors.fill: parent
42− background: Qt.resolvedUrl("../../../qml/graphics/phone_background.jpg")
43
42
44 Component.onDestruction: {
43 Component.onDestruction: {
45 wizardLoader.itemDestroyed = true;
44 wizardLoader.itemDestroyed = true;