File 0001-dont-use-__-yet.patch of Package kirigami2
From 7206bf8134c5c35305a4e43202883cf9d36baaa0 Mon Sep 17 00:00:00 2001
From: Marco Martin <notmart@gmail.com>
Date: Mon, 14 Dec 2020 11:07:06 +0100
Subject: [PATCH] don't use ?? yet
---
src/controls/AbstractApplicationItem.qml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/controls/AbstractApplicationItem.qml b/src/controls/AbstractApplicationItem.qml
index 9091a024..a747035b 100644
--- a/src/controls/AbstractApplicationItem.qml
+++ b/src/controls/AbstractApplicationItem.qml
@@ -191,7 +191,8 @@ Item {
menuBar.position = T.DialogButtonBox.Footer
}
menuBar.width = Qt.binding(() => root.contentItem.width)
- menuBar.y = Qt.binding(() => -menuBar.height - (root.header.height ?? 0))
+ //FIXME: (root.header.height ?? 0) when we can depend from 5.15
+ menuBar.y = Qt.binding(() => -menuBar.height - (root.header.height ? root.header.height : 0))
}
/**
--
GitLab