aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/universal/Slider.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/universal/Slider.qml')
-rw-r--r--src/imports/controls/universal/Slider.qml6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/imports/controls/universal/Slider.qml b/src/imports/controls/universal/Slider.qml
index 5aa336ee..baf91211 100644
--- a/src/imports/controls/universal/Slider.qml
+++ b/src/imports/controls/universal/Slider.qml
@@ -42,11 +42,9 @@ T.Slider {
id: control
implicitWidth: Math.max(background ? background.implicitWidth : 0,
- Math.max(background ? background.implicitWidth : 0,
- handle ? handle.implicitWidth : 0) + leftPadding + rightPadding)
+ (handle ? handle.implicitWidth : 0) + leftPadding + rightPadding)
implicitHeight: Math.max(background ? background.implicitHeight : 0,
- Math.max(background ? background.implicitHeight : 0,
- handle ? handle.implicitHeight : 0) + topPadding + bottomPadding)
+ (handle ? handle.implicitHeight : 0) + topPadding + bottomPadding)
padding: 6