@@ -296,6 +296,7 @@ Item {
296296 property color panelColor: background.topColor
297297 panelForegroundColor: config.foregroundColor
298298 config: PageHeadConfiguration {
299+ title: root.title
299300 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
300301 backAction: Action {
301302 iconName: backIsClose ? "close" : "back"
@@ -336,21 +337,6 @@ Item {
336337 onTriggered: root.favoriteClicked()
337338 }
338339 ]
339−
340− contents: Label {
341− visible: header.contents === null
342− LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
343− anchors {
344− left: parent.left
345− right: parent.right
346− verticalCenter: parent.verticalCenter
347− }
348− text: root.title
349− font.weight: header.fontWeight
350− fontSize: header.fontSize
351− color: header.panelForegroundColor
352− elide: Text.ElideRight
353− }
354340 }
355341
356342 property var contents: null