From 6b7a1bdcace48b0d6c40ed0a5e2131e197cdc085 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 29 Oct 2011 21:46:53 +0200 Subject: [PATCH] undefined-- --- declarativeimports/plasmacomponents/qml/RadioButton.qml | 1 - declarativeimports/plasmacomponents/qml/TabButton.qml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/declarativeimports/plasmacomponents/qml/RadioButton.qml b/declarativeimports/plasmacomponents/qml/RadioButton.qml index 4dae33959..cc609d7c5 100644 --- a/declarativeimports/plasmacomponents/qml/RadioButton.qml +++ b/declarativeimports/plasmacomponents/qml/RadioButton.qml @@ -57,7 +57,6 @@ DualStateButton { opacity: checked ? 1 : 0 anchors { fill: parent - margins: parent.margins.left/2 } Behavior on opacity { NumberAnimation { diff --git a/declarativeimports/plasmacomponents/qml/TabButton.qml b/declarativeimports/plasmacomponents/qml/TabButton.qml index 3b616f2d8..a9d273708 100644 --- a/declarativeimports/plasmacomponents/qml/TabButton.qml +++ b/declarativeimports/plasmacomponents/qml/TabButton.qml @@ -63,7 +63,7 @@ Item { target: root onPressedChanged: { //TabBar is the granparent - parent.parent.currentItem = root + root.parent.parent.currentItem = root } } @@ -127,7 +127,7 @@ Item { internal.tabGroup.currentTab = tab } //TabBar is the granparent, done here too in case of no tabgroup - parent.parent.currentItem = root + root.parent.parent.currentItem = root } anchors.fill: parent