on xenial help sign in
aestetic changes
2f0b72bAlbert Astals
tests/qmltests/Dash/tst_CardBenchmark.qml+7−7
@@ -70,6 +70,10 @@ Rectangle {
70
70
71 when: windowShown
71 when: windowShown
72
72
73+ function init() {
74+ wait(1);
75+ }
76+
73 function benchmark_time_data() {
77 function benchmark_time_data() {
74 return [
78 return [
75 { tag: "cardTitleArtSubtitleMascotSummaryModel", model: cardTitleArtSubtitleMascotSummaryModel },
79 { tag: "cardTitleArtSubtitleMascotSummaryModel", model: cardTitleArtSubtitleMascotSummaryModel },
@@ -81,14 +85,10 @@ Rectangle {
81 ];
85 ];
82 }
86 }
83
87
84− function init() {
85− wait(1);
86− }
87−
88 function benchmark_time(data) {
88 function benchmark_time(data) {
89− currentModel = data.model
89+ currentModel = data.model;
90− cardRepeater.model = 1
90+ cardRepeater.model = 1;
91− cardRepeater.model = 0
91+ cardRepeater.model = 0;
92 }
92 }
93 }
93 }
94}
94}