AusweisApp/0001-fix-qml-error-with-qt6.6.patch

52 lines
1.7 KiB
Diff
Raw Normal View History

From d01d6ee97b7e1fbb804e12614004f9c5eab7fee3 Mon Sep 17 00:00:00 2001
From: Lars Schmertmann <SmallLars@t-online.de>
Date: Thu, 11 Jul 2024 16:35:09 +0200
Subject: [PATCH] Fix QML error with Qt 6.6.3
Got QML warning: DetachedLogView.qml:16:2: Cannot override FINAL property
---
.../qml/modules/FeedbackView/+desktop/DetachedLogView.qml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/ui/qml/modules/FeedbackView/+desktop/DetachedLogView.qml b/src/ui/qml/modules/FeedbackView/+desktop/DetachedLogView.qml
index 953a3766..db7e446a 100644
--- a/src/ui/qml/modules/FeedbackView/+desktop/DetachedLogView.qml
+++ b/src/ui/qml/modules/FeedbackView/+desktop/DetachedLogView.qml
@@ -12,8 +12,8 @@ import Governikus.View
Rectangle {
id: root
+ readonly property int controlRadius: 15
readonly property int horizontalPadding: 18
- readonly property int radius: 15
readonly property int spacing: 10
readonly property int verticalPadding: 6
@@ -55,7 +55,7 @@ Rectangle {
Layout.preferredWidth: 200
horizontalPadding: root.horizontalPadding
model: LogModel.logFileNames
- radius: root.radius
+ radius: root.controlRadius
textStyle: logTextStyle
verticalPadding: root.verticalPadding
@@ -64,7 +64,7 @@ Rectangle {
border.width: 1
color: Style.color.transparent
drawShadow: false
- radius: root.radius
+ radius: root.controlRadius
}
onCurrentIndexChanged: LogModel.setLogFile(currentIndex)
@@ -286,7 +286,7 @@ Rectangle {
Layout.minimumWidth: -1
borderWidth: 1
horizontalPadding: root.horizontalPadding
- radius: root.radius
+ radius: root.controlRadius
spacing: root.spacing
tintIcon: true
verticalPadding: root.verticalPadding