on xenial help sign in
Remove debug code
commit9749987867b5e9724062375407fc139c2fd5d3ba authorJosh Arenson <joshua.arenson@canonical.com> dateMon 28 Sep 2015, 11:55 (11 years ago) parent4f6db39
2 files changed+3−1
qml/OrientedShell.qml+1−1 tests/qmltests/tst_Shell.qml+2
qml/OrientedShell.qml+1−1
@@ -161,7 +161,7 @@ Rectangle {
161161 width: root.width
162162 height: root.height
163163 orientation: root.angleToOrientation(orientationAngle)
164− orientations: root.orientations ? root.orientations : ""
164+ orientations: root.orientations
165165 nativeWidth: root.width
166166 nativeHeight: root.height
167167 mode: applicationArguments.mode
tests/qmltests/tst_Shell.qml+2
@@ -31,6 +31,7 @@ import Powerd 0.1
3131import Wizard 0.1 as Wizard
3232
3333import "../../qml"
34+import "../../qml/Components"
3435import "Stages"
3536
3637Rectangle {
@@ -97,6 +98,7 @@ Rectangle {
9798 id: __shell
9899 usageScenario: usageScenarioSelector.model[usageScenarioSelector.selectedIndex]
99100 orientation: Qt.PortraitOrientation
101+ orientations: Orientations{ id: orientations }
100102 Component.onDestruction: {
101103 shellLoader.itemDestroyed = true;
102104 }