Merge lp:~dandrader/unity8/fixOrientedShellTests into lp:unity8

Proposed by Daniel d'Andrada
Status: Merged
Approved by: Josh Arenson
Approved revision: 1833
Merged at revision: 1833
Proposed branch: lp:~dandrader/unity8/fixOrientedShellTests
Merge into: lp:unity8
Diff against target: 329 lines (+31/-49)
10 files modified
qml/OrientedShell.qml (+1/-0)
qml/Shell.qml (+13/-15)
src/ApplicationArguments.h (+5/-0)
src/main.cpp (+2/-1)
tests/autopilot/unity8/greeter/tests/test_args.py (+6/-6)
tests/qmltests/Stages/tst_SurfaceContainer.qml (+0/-1)
tests/qmltests/Tutorial/tst_Tutorial.qml (+3/-10)
tests/qmltests/tst_OrientedShell.qml (+1/-12)
tests/qmltests/tst_Shell.qml (+0/-2)
tests/qmltests/tst_ShellWithPin.qml (+0/-2)
To merge this branch: bzr merge lp:~dandrader/unity8/fixOrientedShellTests
Reviewer Review Type Date Requested Status
Lukáš Tinkl (community) Approve
Josh Arenson Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Albert Astals Cid (community) Abstain
Review via email: mp+262490@code.launchpad.net

Commit message

Fix tst_OrientedShell and tst_Tutorial

+ Clear several warnings in Shell.qml
+ Move shellMode into applicationArguments context property

Description of the change

* Are there any related MPs required for this MP to build/function as expected? Please list.
No

* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

* Did you make sure that your branch does not contain spurious tags?
Yes

* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable

* If you changed the UI, has there been a design review?
Not applicable

* Did you have a look at the warnings when running tests? Can they be reduced?
Yes, solved some of them.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1830. By CI Train Bot Account

Resync trunk.

1831. By Launchpad Translations on behalf of unity-team

Launchpad automatic translations update.

Revision history for this message
Albert Astals Cid (aacid) wrote :

Text conflict in tests/qmltests/tst_Shell.qml
1 conflicts encountered.

1832. By Daniel d'Andrada

Fix tst_OrientedShell

+ Clear several warnings in Shell.qml
+ Move shellMode into applicationArguments context property

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> Text conflict in tests/qmltests/tst_Shell.qml
> 1 conflicts encountered.

Fixed.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1833. By Daniel d'Andrada

Fix tst_Tutorial.qml

Revision history for this message
Albert Astals Cid (aacid) wrote :

I do sincerely think the fix for tutorial test is worse than the one in http://bazaar.launchpad.net/~aacid/unity8/fix_test_tutorial/revision/1833 but a fix is better than none so let's have this one.

Revision history for this message
Albert Astals Cid (aacid) :
review: Abstain
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Josh Arenson (josharenson) wrote :

Comments inline.

review: Needs Information
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

On 23/06/15 20:44, Josh Arenson wrote:
>> @@ -434,7 +432,7 @@
>> > Greeter {
>> >
>> > hides: [launcher, panel.indicators]
>> > - tabletMode: shell.sideStageEnabled
>> > + tabletMode: shell.usageScenario != "phone"
> Do you think naming this property 'phoneMode' would make things more clear? The only place 'tabletMode' is being used is in the greeter, so the amount of refactoring is small. I think the way it is currently is confusing.
>

I think it amounts to the same. Don't see it being any better.

Revision history for this message
Josh Arenson (josharenson) wrote :

lgtm.

review: Approve
1834. By Daniel d'Andrada

Also fix tst_SurfaceContainer

Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

One minor inline nitpick from me :)

review: Needs Fixing (code-review)
Revision history for this message
Daniel d'Andrada (dandrader) :
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

See http://stackoverflow.com/questions/2582797/why-pass-by-const-reference-instead-of-by-value for the more elaborate overview of passing by value vs. passing by const ref

review: Needs Fixing (code-review)
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> See http://stackoverflow.com/questions/2582797/why-pass-by-const-reference-
> instead-of-by-value for the more elaborate overview of passing by value vs.
> passing by const ref

QString does have a move contructor:
http://pastebin.ubuntu.com/11795003/

What problem do you see in this case?

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> Also,
> https://techbase.kde.org/Development/Tutorials/Common_Programming_Mistakes
> #Passing_non-POD_types has some more info on the topic

This applies if you're not using C++11, where you don't have move constructors and move semantics.

Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

Ok, I stand corrected then, I didn't know Qt enables it for QStrings under C++11 :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'qml/OrientedShell.qml'
--- qml/OrientedShell.qml 2015-06-12 16:07:43 +0000
+++ qml/OrientedShell.qml 2015-06-25 19:25:08 +0000
@@ -135,6 +135,7 @@
135 nativeOrientation: root.nativeOrientation135 nativeOrientation: root.nativeOrientation
136 nativeWidth: root.width136 nativeWidth: root.width
137 nativeHeight: root.height137 nativeHeight: root.height
138 mode: applicationArguments.mode
138139
139 // TODO: Factor in the connected input devices (eg: physical keyboard, mouse, touchscreen),140 // TODO: Factor in the connected input devices (eg: physical keyboard, mouse, touchscreen),
140 // what's the output device (eg: big TV, desktop monitor, phone display), etc.141 // what's the output device (eg: big TV, desktop monitor, phone display), etc.
141142
=== modified file 'qml/Shell.qml'
--- qml/Shell.qml 2015-06-15 22:40:10 +0000
+++ qml/Shell.qml 2015-06-25 19:25:08 +0000
@@ -55,6 +55,7 @@
55 property alias indicatorAreaShowProgress: panel.indicatorAreaShowProgress55 property alias indicatorAreaShowProgress: panel.indicatorAreaShowProgress
56 property bool beingResized56 property bool beingResized
57 property string usageScenario: "phone" // supported values: "phone", "tablet" or "desktop"57 property string usageScenario: "phone" // supported values: "phone", "tablet" or "desktop"
58 property string mode: "full-greeter"
58 function updateFocusedAppOrientation() {59 function updateFocusedAppOrientation() {
59 applicationsDisplayLoader.item.updateFocusedAppOrientation();60 applicationsDisplayLoader.item.updateFocusedAppOrientation();
60 }61 }
@@ -68,9 +69,9 @@
6869
69 readonly property bool orientationChangesEnabled: panel.indicators.fullyClosed70 readonly property bool orientationChangesEnabled: panel.indicators.fullyClosed
70 && (applicationsDisplayLoader.item && applicationsDisplayLoader.item.orientationChangesEnabled)71 && (applicationsDisplayLoader.item && applicationsDisplayLoader.item.orientationChangesEnabled)
71 && !greeter.animating72 && (!greeter || !greeter.animating)
7273
73 readonly property bool showingGreeter: greeter.shown74 readonly property bool showingGreeter: greeter && greeter.shown
7475
75 property bool startingUp: true76 property bool startingUp: true
76 Timer { id: finishStartUpTimer; interval: 500; onTriggered: startingUp = false }77 Timer { id: finishStartUpTimer; interval: 500; onTriggered: startingUp = false }
@@ -79,7 +80,7 @@
79 if (startingUp) {80 if (startingUp) {
80 // Ensure we don't rotate during start up81 // Ensure we don't rotate during start up
81 return Qt.PrimaryOrientation;82 return Qt.PrimaryOrientation;
82 } else if (greeter.shown) {83 } else if (greeter && greeter.shown) {
83 return Qt.PrimaryOrientation;84 return Qt.PrimaryOrientation;
84 } else if (mainApp) {85 } else if (mainApp) {
85 return mainApp.supportedOrientations;86 return mainApp.supportedOrientations;
@@ -101,16 +102,13 @@
101102
102 // Disable everything while greeter is waiting, so that the user can't swipe103 // Disable everything while greeter is waiting, so that the user can't swipe
103 // the greeter or launcher until we know whether the session is locked.104 // the greeter or launcher until we know whether the session is locked.
104 enabled: !greeter.waiting105 enabled: greeter && !greeter.waiting
105106
106 property real edgeSize: units.gu(2)107 property real edgeSize: units.gu(2)
107 property url defaultBackground: Qt.resolvedUrl(shell.width >= units.gu(60) ? "graphics/tablet_background.jpg" : "graphics/phone_background.jpg")108 property url defaultBackground: Qt.resolvedUrl(shell.width >= units.gu(60) ? "graphics/tablet_background.jpg" : "graphics/phone_background.jpg")
108 property url background: asImageTester.status == Image.Ready ? asImageTester.source109 property url background: asImageTester.status == Image.Ready ? asImageTester.source
109 : gsImageTester.status == Image.Ready ? gsImageTester.source : defaultBackground110 : gsImageTester.status == Image.Ready ? gsImageTester.source : defaultBackground
110111
111 // This is _only_ used to expose the property to autopilot tests
112 readonly property string testShellMode: shellMode
113
114 readonly property alias greeter: greeterLoader.item112 readonly property alias greeter: greeterLoader.item
115113
116 function activateApplication(appId) {114 function activateApplication(appId) {
@@ -264,7 +262,7 @@
264 ? "phone"262 ? "phone"
265 : shell.usageScenario263 : shell.usageScenario
266 source: {264 source: {
267 if(shellMode === "greeter") {265 if(shell.mode === "greeter") {
268 return "Stages/ShimStage.qml"266 return "Stages/ShimStage.qml"
269 } else if (applicationsDisplayLoader.usageScenario === "phone") {267 } else if (applicationsDisplayLoader.usageScenario === "phone") {
270 return "Stages/PhoneStage.qml";268 return "Stages/PhoneStage.qml";
@@ -276,7 +274,7 @@
276 }274 }
277275
278 property bool interactive: tutorial.spreadEnabled276 property bool interactive: tutorial.spreadEnabled
279 && !greeter.shown277 && (!greeter || !greeter.shown)
280 && panel.indicators.fullyClosed278 && panel.indicators.fullyClosed
281 && launcher.progress == 0279 && launcher.progress == 0
282 && !notifications.useModal280 && !notifications.useModal
@@ -307,12 +305,12 @@
307 Binding {305 Binding {
308 target: applicationsDisplayLoader.item306 target: applicationsDisplayLoader.item
309 property: "spreadEnabled"307 property: "spreadEnabled"
310 value: tutorial.spreadEnabled && !greeter.hasLockedApp308 value: tutorial.spreadEnabled && (!greeter || !greeter.hasLockedApp)
311 }309 }
312 Binding {310 Binding {
313 target: applicationsDisplayLoader.item311 target: applicationsDisplayLoader.item
314 property: "inverseProgress"312 property: "inverseProgress"
315 value: greeter.locked ? 0 : launcher.progress313 value: greeter && greeter.locked ? 0 : launcher.progress
316 }314 }
317 Binding {315 Binding {
318 target: applicationsDisplayLoader.item316 target: applicationsDisplayLoader.item
@@ -422,7 +420,7 @@
422 id: greeterLoader420 id: greeterLoader
423 anchors.fill: parent421 anchors.fill: parent
424 anchors.topMargin: panel.panelHeight422 anchors.topMargin: panel.panelHeight
425 sourceComponent: shellMode != "shell" ? integratedGreeter :423 sourceComponent: shell.mode != "shell" ? integratedGreeter :
426 Qt.createComponent(Qt.resolvedUrl("Greeter/ShimGreeter.qml"));424 Qt.createComponent(Qt.resolvedUrl("Greeter/ShimGreeter.qml"));
427 onLoaded: {425 onLoaded: {
428 item.objectName = "greeter"426 item.objectName = "greeter"
@@ -434,7 +432,7 @@
434 Greeter {432 Greeter {
435433
436 hides: [launcher, panel.indicators]434 hides: [launcher, panel.indicators]
437 tabletMode: shell.sideStageEnabled435 tabletMode: shell.usageScenario != "phone"
438 launcherOffset: launcher.progress436 launcherOffset: launcher.progress
439 forcedUnlock: tutorial.running437 forcedUnlock: tutorial.running
440 background: shell.background438 background: shell.background
@@ -550,8 +548,8 @@
550 indicators {548 indicators {
551 hides: [launcher]549 hides: [launcher]
552 available: tutorial.panelEnabled550 available: tutorial.panelEnabled
553 && (!greeter.locked || AccountsService.enableIndicatorsWhileLocked)551 && ((!greeter || !greeter.locked) || AccountsService.enableIndicatorsWhileLocked)
554 && !greeter.hasLockedApp552 && (!greeter || !greeter.hasLockedApp)
555 contentEnabled: tutorial.panelContentEnabled553 contentEnabled: tutorial.panelContentEnabled
556 width: parent.width > units.gu(60) ? units.gu(40) : parent.width554 width: parent.width > units.gu(60) ? units.gu(40) : parent.width
557555
558556
=== modified file 'src/ApplicationArguments.h'
--- src/ApplicationArguments.h 2015-06-12 16:07:43 +0000
+++ src/ApplicationArguments.h 2015-06-25 19:25:08 +0000
@@ -27,14 +27,19 @@
27{27{
28 Q_OBJECT28 Q_OBJECT
29 Q_PROPERTY(QString deviceName READ deviceName CONSTANT)29 Q_PROPERTY(QString deviceName READ deviceName CONSTANT)
30 Q_PROPERTY(QString mode READ mode CONSTANT)
30public:31public:
31 ApplicationArguments(QObject *parent = nullptr);32 ApplicationArguments(QObject *parent = nullptr);
3233
33 void setDeviceName(QString deviceName) { m_deviceName = deviceName; }34 void setDeviceName(QString deviceName) { m_deviceName = deviceName; }
34 QString deviceName() const { return m_deviceName; }35 QString deviceName() const { return m_deviceName; }
3536
37 void setMode(QString mode) { m_mode = mode; }
38 QString mode() const { return m_mode; }
39
36private:40private:
37 QString m_deviceName;41 QString m_deviceName;
42 QString m_mode;
38};43};
3944
40#endif // APPLICATION_ARGUMENTS_H45#endif // APPLICATION_ARGUMENTS_H
4146
=== modified file 'src/main.cpp'
--- src/main.cpp 2015-06-12 16:07:43 +0000
+++ src/main.cpp 2015-06-25 19:25:08 +0000
@@ -60,6 +60,8 @@
60 qmlArgs.setDeviceName(QString(buffer));60 qmlArgs.setDeviceName(QString(buffer));
61 }61 }
6262
63 qmlArgs.setMode(parser.mode());
64
63 // The testability driver is only loaded by QApplication but not by QGuiApplication.65 // The testability driver is only loaded by QApplication but not by QGuiApplication.
64 // However, QApplication depends on QWidget which would add some unneeded overhead => Let's load the testability driver on our own.66 // However, QApplication depends on QWidget which would add some unneeded overhead => Let's load the testability driver on our own.
65 if (parser.hasTestability() || getenv("QT_LOAD_TESTABILITY")) {67 if (parser.hasTestability() || getenv("QT_LOAD_TESTABILITY")) {
@@ -92,7 +94,6 @@
9294
93 view->engine()->setBaseUrl(QUrl::fromLocalFile(::qmlDirectory()));95 view->engine()->setBaseUrl(QUrl::fromLocalFile(::qmlDirectory()));
94 view->rootContext()->setContextProperty("applicationArguments", &qmlArgs);96 view->rootContext()->setContextProperty("applicationArguments", &qmlArgs);
95 view->rootContext()->setContextProperty("shellMode", parser.mode());
96 if (parser.hasFrameless()) {97 if (parser.hasFrameless()) {
97 view->setFlags(Qt::FramelessWindowHint);98 view->setFlags(Qt::FramelessWindowHint);
98 }99 }
99100
=== modified file 'tests/autopilot/unity8/greeter/tests/test_args.py'
--- tests/autopilot/unity8/greeter/tests/test_args.py 2015-04-16 14:48:50 +0000
+++ tests/autopilot/unity8/greeter/tests/test_args.py 2015-06-25 19:25:08 +0000
@@ -28,27 +28,27 @@
28 def test_full_greeter_mode(self):28 def test_full_greeter_mode(self):
29 unity_proxy = self.launch_unity(mode='full-greeter')29 unity_proxy = self.launch_unity(mode='full-greeter')
30 shell = self.get_shell(unity_proxy)30 shell = self.get_shell(unity_proxy)
31 self.assertTrue(shell.testShellMode == 'full-greeter')31 self.assertTrue(shell.mode == 'full-greeter')
3232
33 def test_full_shell_mode(self):33 def test_full_shell_mode(self):
34 unity_proxy = self.launch_unity(mode='full-shell')34 unity_proxy = self.launch_unity(mode='full-shell')
35 shell = self.get_shell(unity_proxy)35 shell = self.get_shell(unity_proxy)
36 self.assertTrue(shell.testShellMode == 'full-shell')36 self.assertTrue(shell.mode == 'full-shell')
3737
38 def test_greeter_mode(self):38 def test_greeter_mode(self):
39 unity_proxy = self.launch_unity(mode='greeter')39 unity_proxy = self.launch_unity(mode='greeter')
40 shell = self.get_shell(unity_proxy)40 shell = self.get_shell(unity_proxy)
41 self.assertTrue(shell.testShellMode == 'greeter')41 self.assertTrue(shell.mode == 'greeter')
4242
43 def test_nonexistent_mode(self):43 def test_nonexistent_mode(self):
44 unity_proxy = self.launch_unity(mode=self.NONEXISTENT_MODE)44 unity_proxy = self.launch_unity(mode=self.NONEXISTENT_MODE)
45 shell = self.get_shell(unity_proxy)45 shell = self.get_shell(unity_proxy)
46 self.assertTrue(shell.testShellMode == self.DEFAULT_SHELL_MODE,46 self.assertTrue(shell.mode == self.DEFAULT_SHELL_MODE,
47 "Shell mode was {} but should have been {}"47 "Shell mode was {} but should have been {}"
48 .format(shell.testShellMode,48 .format(shell.mode,
49 self.DEFAULT_SHELL_MODE))49 self.DEFAULT_SHELL_MODE))
5050
51 def test_shell_mode(self):51 def test_shell_mode(self):
52 unity_proxy = self.launch_unity(mode='shell')52 unity_proxy = self.launch_unity(mode='shell')
53 shell = self.get_shell(unity_proxy)53 shell = self.get_shell(unity_proxy)
54 self.assertTrue(shell.testShellMode == 'shell')54 self.assertTrue(shell.mode == 'shell')
5555
=== modified file 'tests/qmltests/Stages/tst_SurfaceContainer.qml'
--- tests/qmltests/Stages/tst_SurfaceContainer.qml 2015-03-12 14:45:44 +0000
+++ tests/qmltests/Stages/tst_SurfaceContainer.qml 2015-06-25 19:25:08 +0000
@@ -32,7 +32,6 @@
32 id: surfaceContainerComponent32 id: surfaceContainerComponent
33 SurfaceContainer {33 SurfaceContainer {
34 anchors.fill: parent34 anchors.fill: parent
35 orientation: Qt.PortraitOrientation
36 interactive: interactiveCheckbox.checked35 interactive: interactiveCheckbox.checked
37 }36 }
38 }37 }
3938
=== modified file 'tests/qmltests/Tutorial/tst_Tutorial.qml'
--- tests/qmltests/Tutorial/tst_Tutorial.qml 2015-06-15 22:40:10 +0000
+++ tests/qmltests/Tutorial/tst_Tutorial.qml 2015-06-25 19:25:08 +0000
@@ -17,7 +17,6 @@
17import QtQuick 2.017import QtQuick 2.0
18import QtTest 1.018import QtTest 1.0
19import AccountsService 0.119import AccountsService 0.1
20import GSettings 1.0
21import LightDM 0.1 as LightDM20import LightDM 0.1 as LightDM
22import Ubuntu.Components 1.121import Ubuntu.Components 1.1
23import Unity.Application 0.122import Unity.Application 0.1
@@ -46,11 +45,6 @@
46 }45 }
47 }46 }
4847
49 GSettings {
50 id: unity8Settings
51 schema.id: "com.canonical.Unity8"
52 }
53
54 Component.onCompleted: {48 Component.onCompleted: {
55 // must set the mock mode before loading the Shell49 // must set the mock mode before loading the Shell
56 LightDM.Greeter.mockMode = "single-pin";50 LightDM.Greeter.mockMode = "single-pin";
@@ -73,7 +67,6 @@
73 sourceComponent: Component {67 sourceComponent: Component {
74 Shell {68 Shell {
75 property string indicatorProfile: "phone"69 property string indicatorProfile: "phone"
76 property string shellMode: "full-greeter" /* default */
7770
78 Component.onDestruction: {71 Component.onDestruction: {
79 shellLoader.itemDestroyed = true;72 shellLoader.itemDestroyed = true;
@@ -119,7 +112,7 @@
119112
120 function init() {113 function init() {
121 tryCompare(shell, "enabled", true); // enabled by greeter when ready114 tryCompare(shell, "enabled", true); // enabled by greeter when ready
122 unity8Settings.usageMode = "Staged";115
123 AccountsService.demoEdges = false;116 AccountsService.demoEdges = false;
124 AccountsService.demoEdges = true;117 AccountsService.demoEdges = true;
125 swipeAwayGreeter();118 swipeAwayGreeter();
@@ -193,7 +186,7 @@
193 }186 }
194187
195 function checkRightEdge() {188 function checkRightEdge() {
196 if (unity8Settings.usageMode === "Staged") {189 if (shell.usageScenario === "phone") {
197 touchFlick(shell, shell.width, halfHeight, halfWidth, halfHeight);190 touchFlick(shell, shell.width, halfHeight, halfWidth, halfHeight);
198191
199 var stage = findChild(shell, "stage");192 var stage = findChild(shell, "stage");
@@ -271,7 +264,7 @@
271 }264 }
272265
273 function test_walkthroughOnDesktop() {266 function test_walkthroughOnDesktop() {
274 unity8Settings.usageMode = "Windowed";267 shell.usageScenario = "desktop";
275 var page = goToPage("tutorialLeftFinish");268 var page = goToPage("tutorialLeftFinish");
276 var tick = findChild(page, "tick");269 var tick = findChild(page, "tick");
277 tap(tick);270 tap(tick);
278271
=== modified file 'tests/qmltests/tst_OrientedShell.qml'
--- tests/qmltests/tst_OrientedShell.qml 2015-05-11 14:36:03 +0000
+++ tests/qmltests/tst_OrientedShell.qml 2015-06-25 19:25:08 +0000
@@ -34,19 +34,8 @@
3434
35 QtObject {35 QtObject {
36 id: applicationArguments36 id: applicationArguments
37
38 function hasGeometry() {
39 return false;
40 }
41
42 function width() {
43 return 0;
44 }
45
46 function height() {
47 return 0;
48 }
49 property string deviceName: "mako"37 property string deviceName: "mako"
38 property string mode: "full-greeter"
50 }39 }
5140
52 QtObject {41 QtObject {
5342
=== modified file 'tests/qmltests/tst_Shell.qml'
--- tests/qmltests/tst_Shell.qml 2015-06-18 18:17:09 +0000
+++ tests/qmltests/tst_Shell.qml 2015-06-25 19:25:08 +0000
@@ -81,8 +81,6 @@
81 property bool itemDestroyed: false81 property bool itemDestroyed: false
82 sourceComponent: Component {82 sourceComponent: Component {
83 Shell {83 Shell {
84 property string shellMode: "full-greeter" /* default */
85
86 usageScenario: usageScenarioSelector.model[usageScenarioSelector.selectedIndex]84 usageScenario: usageScenarioSelector.model[usageScenarioSelector.selectedIndex]
87 orientation: Qt.PortraitOrientation85 orientation: Qt.PortraitOrientation
88 primaryOrientation: Qt.PortraitOrientation86 primaryOrientation: Qt.PortraitOrientation
8987
=== modified file 'tests/qmltests/tst_ShellWithPin.qml'
--- tests/qmltests/tst_ShellWithPin.qml 2015-06-15 22:40:10 +0000
+++ tests/qmltests/tst_ShellWithPin.qml 2015-06-25 19:25:08 +0000
@@ -69,8 +69,6 @@
69 property bool itemDestroyed: false69 property bool itemDestroyed: false
70 sourceComponent: Component {70 sourceComponent: Component {
71 Shell {71 Shell {
72 property string shellMode: "full-greeter" /* default */
73
74 Component.onDestruction: {72 Component.onDestruction: {
75 shellLoader.itemDestroyed = true73 shellLoader.itemDestroyed = true
76 }74 }

Subscribers

People subscribed via source and target branches