on xenial help sign in
remove the unused bg image
commit184f5a1f4ad49f4951aabb6371774d8f82a55cfa authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 22 Sep 2015, 02:27 (11 years ago) parent391acff
2 files changed−10
qml/Wizard/Wizard.qml−9 tests/qmltests/Wizard/tst_Wizard.qml−1
qml/Wizard/Wizard.qml−9
@@ -22,9 +22,6 @@ import "../Components"
2222Showable {
2323 id: root
2424
25− // The background wallpaper to use
26− property string background
27−
2825 // This is a bool instead of an alias because Loader classes like to emit
2926 // changed signals for 'active' during startup even if they aren't actually
3027 // changing values. Having it cached as a proper Qml bool property prevents
@@ -46,12 +43,6 @@ Showable {
4643 active: System.wizardEnabled
4744 source: "Pages.qml"
4845
49− Binding {
50− target: loader.item
51− property: "background"
52− value: root.background
53− }
54−
5546 Connections {
5647 target: loader.item
5748 onQuit: root.hide()
tests/qmltests/Wizard/tst_Wizard.qml−1
@@ -39,7 +39,6 @@ Item {
3939 Wizard {
4040 id: wizard
4141 anchors.fill: parent
42− background: Qt.resolvedUrl("../../../qml/graphics/phone_background.jpg")
4342
4443 Component.onDestruction: {
4544 wizardLoader.itemDestroyed = true;