undefined--

This commit is contained in:
Marco Martin 2011-10-29 21:46:53 +02:00
parent f32fc24694
commit 6b7a1bdcac
2 changed files with 2 additions and 3 deletions

View File

@ -57,7 +57,6 @@ DualStateButton {
opacity: checked ? 1 : 0 opacity: checked ? 1 : 0
anchors { anchors {
fill: parent fill: parent
margins: parent.margins.left/2
} }
Behavior on opacity { Behavior on opacity {
NumberAnimation { NumberAnimation {

View File

@ -63,7 +63,7 @@ Item {
target: root target: root
onPressedChanged: { onPressedChanged: {
//TabBar is the granparent //TabBar is the granparent
parent.parent.currentItem = root root.parent.parent.currentItem = root
} }
} }
@ -127,7 +127,7 @@ Item {
internal.tabGroup.currentTab = tab internal.tabGroup.currentTab = tab
} }
//TabBar is the granparent, done here too in case of no tabgroup //TabBar is the granparent, done here too in case of no tabgroup
parent.parent.currentItem = root root.parent.parent.currentItem = root
} }
anchors.fill: parent anchors.fill: parent