@@ -318,6 +318,7 @@ Item {
318318 property color panelColor: background.topColor
319319 panelForegroundColor: config.foregroundColor
320320 config: PageHeadConfiguration {
321+ title: root.title
321322 foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : theme.palette.normal.baseText
322323 backAction: Action {
323324 iconName: backIsClose ? "close" : "back"
@@ -358,21 +359,6 @@ Item {
358359 onTriggered: root.favoriteClicked()
359360 }
360361 ]
361−
362− contents: Label {
363− visible: header.contents === null
364− LayoutMirroring.enabled: Qt.application.layoutDirection == Qt.RightToLeft
365− anchors {
366− left: parent.left
367− right: parent.right
368− verticalCenter: parent.verticalCenter
369− }
370− text: root.title
371− font.weight: header.fontWeight
372− fontSize: header.fontSize
373− color: header.panelForegroundColor
374− elide: Text.ElideRight
375− }
376362 }
377363
378364 property var contents: null