on xenial help sign in
aestetic changes
commit2f0b72b6e6762f3bab965c6f1001f7fe6b6837f0 authorAlbert Astals <albert.astals@canonical.com> dateWed 16 Apr 2014, 11:06 (13 years ago) parentd08ddb5
1 file changed+7−7
tests/qmltests/Dash/tst_CardBenchmark.qml+7−7
tests/qmltests/Dash/tst_CardBenchmark.qml+7−7
@@ -70,6 +70,10 @@ Rectangle {
7070
7171 when: windowShown
7272
73+ function init() {
74+ wait(1);
75+ }
76+
7377 function benchmark_time_data() {
7478 return [
7579 { tag: "cardTitleArtSubtitleMascotSummaryModel", model: cardTitleArtSubtitleMascotSummaryModel },
@@ -81,14 +85,10 @@ Rectangle {
8185 ];
8286 }
8387
84− function init() {
85− wait(1);
86− }
87−
8888 function benchmark_time(data) {
89− currentModel = data.model
90− cardRepeater.model = 1
91− cardRepeater.model = 0
89+ currentModel = data.model;
90+ cardRepeater.model = 1;
91+ cardRepeater.model = 0;
9292 }
9393 }
9494}