on xenial help sign in
Fix type error
commitee2a11f6f9f1c329a01d82a4d52f0594e44dd8bb authorRodney Dawes <dobey@ubports.com> dateThu 6 Aug 2020, 17:00 (6 years ago) parent47c608d
1 file changed+5−4
tests/qmltests/Stage/tst_PhoneStage.qml+5−4
tests/qmltests/Stage/tst_PhoneStage.qml+5−4
@@ -251,10 +251,11 @@ Item {
251251 var appsToTest = 6;
252252 var apps = new Array();
253253 for (var i = 0; i < appsToTest; i++) {
254− var item = new Object();
255− item.tag = "App " + i;
256− item.index = i;
257− item.total = appsToTest;
254+ var item = {
255+ tag: "App " + i,
256+ index: i,
257+ total: appsToTest
258+ };
258259 apps.push(item)
259260 }
260261 return apps;