on xenial help sign in
Slighly cleaner and more efficient.
commitaa1185b384a61cd23ad1a2a17d60abc10b1c1301 authorFlorian Boucault <florian.boucault@canonical.com> dateWed 27 Aug 2014, 15:34 (12 years ago) parent43b95a0
1 file changed+4−1
qml/Stages/PageHeadStyle.qml+4−1
qml/Stages/PageHeadStyle.qml+4−1
@@ -30,7 +30,6 @@ Style.PageHeadStyle {
3030 textLeftMargin: units.gu(2)
3131
3232 implicitHeight: headerStyle.contentHeight
33− property var theme
3433
3534 Label {
3635 anchors {
@@ -57,6 +56,8 @@ Style.PageHeadStyle {
5756 }
5857 source: headerStyle.separatorSource
5958 height: styledItem.config.sections.model !== undefined ? units.gu(3) : units.gu(2)
59+ asynchronous: true
60+ cache: true
6061 }
6162
6263 Image {
@@ -67,5 +68,7 @@ Style.PageHeadStyle {
6768 right: parent.right
6869 }
6970 source: headerStyle.separatorBottomSource
71+ asynchronous: true
72+ cache: true
7073 }
7174}