diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2019-06-11 11:40:31 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2019-06-11 09:44:10 +0000 |
commit | 467aa59a88d381dddb0e5b797c73f205d0b275c9 (patch) | |
tree | 7f9db5135d40cfdd18c3486dbe1f8fb44c9c9619 /src/imports/controls/fusion/SpinBox.qml | |
parent | d7b2f407cff40b75423c93bef6f5f2255747c4ee (diff) |
Qualify unqualified id lookup in controls
This is a preparation for https://codereview.qt-project.org/c/qt/qtdeclarative/+/259561
and also avoids walking up the contexts
Change-Id: I9f016b7346db088dfe1519924c9770e486b46ec9
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/imports/controls/fusion/SpinBox.qml')
-rw-r--r-- | src/imports/controls/fusion/SpinBox.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/fusion/SpinBox.qml b/src/imports/controls/fusion/SpinBox.qml index fd77f9f3..41754f63 100644 --- a/src/imports/controls/fusion/SpinBox.qml +++ b/src/imports/controls/fusion/SpinBox.qml @@ -145,8 +145,8 @@ T.SpinBox { Rectangle { x: control.mirrored ? 1 : parent.width - width - 1 y: 1 - width: Math.max(up.indicator ? up.indicator.width : 0, - down.indicator ? down.indicator.width : 0) + 1 + width: Math.max(control.up.indicator ? control.up.indicator.width : 0, + control.down.indicator ? control.down.indicator.width : 0) + 1 height: parent.height - 2 radius: 2 |