on xenial help sign in
Slighly cleaner and more efficient.
aa1185bFlorian Boucault
qml/Stages/PageHeadStyle.qml+4−1
@@ -30,7 +30,6 @@ Style.PageHeadStyle {
30 textLeftMargin: units.gu(2)
30 textLeftMargin: units.gu(2)
31
31
32 implicitHeight: headerStyle.contentHeight
32 implicitHeight: headerStyle.contentHeight
33− property var theme
34
33
35 Label {
34 Label {
36 anchors {
35 anchors {
@@ -57,6 +56,8 @@ Style.PageHeadStyle {
57 }
56 }
58 source: headerStyle.separatorSource
57 source: headerStyle.separatorSource
59 height: styledItem.config.sections.model !== undefined ? units.gu(3) : units.gu(2)
58 height: styledItem.config.sections.model !== undefined ? units.gu(3) : units.gu(2)
59+ asynchronous: true
60+ cache: true
60 }
61 }
61
62
62 Image {
63 Image {
@@ -67,5 +68,7 @@ Style.PageHeadStyle {
67 right: parent.right
68 right: parent.right
68 }
69 }
69 source: headerStyle.separatorBottomSource
70 source: headerStyle.separatorBottomSource
71+ asynchronous: true
72+ cache: true
70 }
73 }
71}
74}