on xenial help sign in
Use the correct API in PageHeader. Fixes: 1353048

Approved by: Andrea Cimitan, PS Jenkins bot, Tim Peeters

commit7d27ba77cec165ff41dbfeea491d994a9f48db30 authorMichał Sawicz <michal.sawicz@canonical.com> dateWed 6 Aug 2014, 19:38 (12 years ago) parent4aee553f16d76e
1 file changed+2−1
qml/Components/PageHeader.qml+2−1
qml/Components/PageHeader.qml+2−1
@@ -171,6 +171,7 @@ Item {
171171 property var styledItem: searchHeader
172172 property string title
173173 property var config: PageHeadConfiguration {
174+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
174175 backAction: Action {
175176 iconName: "back"
176177 onTriggered: {
@@ -249,10 +250,10 @@ Item {
249250 contentHeight: height
250251 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
251252 separatorSource: ""
252− textColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
253253 property var styledItem: header
254254 property string title: root.title
255255 property var config: PageHeadConfiguration {
256+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
256257 backAction: Action {
257258 iconName: "back"
258259 visible: root.showBackButton