aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shared/Slider.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-08-16 17:14:55 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-08-20 08:43:17 +0200
commit560b5bcd277907538b71c147d12fdf3d41b1848c (patch)
tree9abbb14021b8b806d0e58185559e5388ce220441 /examples/quick/shared/Slider.qml
parenta2e10253548f1fd7f20a59e67669daa0e6713b0a (diff)
examples: Fix a few linter warnings
Unqualified lookup in the root object of a component is bad. Change-Id: I7772216fb81e68824519408998c73dbb1ca60c4d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/quick/shared/Slider.qml')
-rw-r--r--examples/quick/shared/Slider.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/shared/Slider.qml b/examples/quick/shared/Slider.qml
index cdda86e39e..5b08034571 100644
--- a/examples/quick/shared/Slider.qml
+++ b/examples/quick/shared/Slider.qml
@@ -83,7 +83,7 @@ Item {
anchors.left: parent.left
anchors.leftMargin: 16
height: childrenRect.height
- width: Math.max(minLabelWidth, childrenRect.width)
+ width: Math.max(slider.minLabelWidth, childrenRect.width)
anchors.verticalCenter: parent.verticalCenter
Text {
text: slider.name + ":"