Skip to content

Commit

Permalink
Fix QML error with Qt 6.6.3
Browse files Browse the repository at this point in the history
Got QML warning: DetachedLogView.qml:16:2: Cannot override FINAL property
  • Loading branch information
SmallLars authored and misery committed Jul 11, 2024
1 parent e24b360 commit b989250
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ui/qml/modules/FeedbackView/+desktop/DetachedLogView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -64,7 +64,7 @@ Rectangle {
border.width: 1
color: Style.color.transparent
drawShadow: false
radius: root.radius
radius: root.controlRadius
}

onCurrentIndexChanged: LogModel.setLogFile(currentIndex)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b989250

Please sign in to comment.