Commit 70761646 authored by Julius Künzel's avatar Julius Künzel
Browse files

Qml required property is not supported in Qt < 5.15

parent 7ef5187f
Pipeline #118694 passed with stage
in 8 minutes and 44 seconds
......@@ -13,9 +13,10 @@ Rectangle {
SystemPalette { id: barPalette; colorGroup: SystemPalette.Disabled }
property bool hoveredBar: barArea.containsMouse || barArea.pressed || zoomStart.isActive || zoomEnd.isActive
property int barMinWidth: 1
required property real contentPos
required property real zoomFactor
required property bool fitsZoom
// TODO re-enable required keyword once we have Qt >=5.15 only
/*required*/ property real contentPos
/*required*/ property real zoomFactor
/*required*/ property bool fitsZoom
property string toolTipText
signal proposeContentPos(real proposedValue)
signal proposeZoomFactor(real proposedValue)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment