qml: Fix two title bars being shown

This commit is contained in:
Sergio Martins
2020-07-30 17:56:56 +01:00
parent dc59ecb4eb
commit affd7dfb87
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ Rectangle {
id: titleBar
height: 30
titleBarCpp: root.titleBarCpp
visible: titleBarCpp.visible
anchors {
top: parent.top

View File

@@ -22,7 +22,7 @@ Rectangle {
TitleBar {
height: 30
titleBarCpp: root.titleBarCpp
visible: true
visible: titleBarCpp.visible
anchors {
top: parent.top
left: parent.left