diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-08-16 17:14:55 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-08-20 08:43:17 +0200 |
commit | 560b5bcd277907538b71c147d12fdf3d41b1848c (patch) | |
tree | 9abbb14021b8b806d0e58185559e5388ce220441 /examples/quick/shared/CheckBox.qml | |
parent | a2e10253548f1fd7f20a59e67669daa0e6713b0a (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/CheckBox.qml')
-rw-r--r-- | examples/quick/shared/CheckBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/shared/CheckBox.qml b/examples/quick/shared/CheckBox.qml index 7b1588d2d9..51b6aabc09 100644 --- a/examples/quick/shared/CheckBox.qml +++ b/examples/quick/shared/CheckBox.qml @@ -87,7 +87,7 @@ Item { anchors.margins: frame.width / 5 fillMode: Image.PreserveAspectFit smooth: true - visible: checked + visible: root.checked } } Text { |