aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-06-03 16:06:40 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-06-03 14:50:44 +0000
commite9afb38d5a762aeaea45e68be2ef0878493cfa12 (patch)
tree8cf741d1c27af9fb1722446e0c1e6c7a717dd8cc
parent7c7f0b36bf344ade6df14649e9d8fc4ce57a4487 (diff)
Native style: remove unused code
Change-Id: I27263cd6230d4c1dc6c968505183eb27b8618c4f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
-rw-r--r--src/imports/nativestyle/controls/DefaultButton.qml5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/imports/nativestyle/controls/DefaultButton.qml b/src/imports/nativestyle/controls/DefaultButton.qml
index 52b7814e..d98916ca 100644
--- a/src/imports/nativestyle/controls/DefaultButton.qml
+++ b/src/imports/nativestyle/controls/DefaultButton.qml
@@ -58,11 +58,6 @@ T.Button {
topPadding: nativeBackground ? background.contentPadding.top : 5
bottomPadding: nativeBackground ? background.contentPadding.bottom : 5
- topInset: nativeBackground ? background.insets.top : 0
- bottomInset: nativeBackground ? background.insets.bottom : 0
- leftInset: nativeBackground ? background.insets.left : 0
- rightInset: nativeBackground ? background.insets.right : 0
-
background: NativeStyle.Button {
control: control
contentWidth: contentItem.implicitWidth