diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-02-05 15:37:46 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-02-06 13:16:20 +0000 |
commit | bbed8f6a8554b3edf6198671ee4e36995ba0726b (patch) | |
tree | 8c07d92d3119d0f48cfff99a6fb1a11c50d7b392 /tests/auto/controls/data/tst_switch.qml | |
parent | 0cb85683406737dfb715218124c7b2d1936f855b (diff) |
Switch: migrate from label to contentItem
Change-Id: Ic287fc207b689d5f4a252a527b536272ad94c057
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/controls/data/tst_switch.qml')
-rw-r--r-- | tests/auto/controls/data/tst_switch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_switch.qml b/tests/auto/controls/data/tst_switch.qml index 13924ed0..7443f330 100644 --- a/tests/auto/controls/data/tst_switch.qml +++ b/tests/auto/controls/data/tst_switch.qml @@ -260,7 +260,7 @@ TestCase { function test_baseline() { var control = swtch.createObject(testCase) verify(control) - compare(control.baselineOffset, control.label.y + control.label.baselineOffset) + compare(control.baselineOffset, control.contentItem.y + control.contentItem.baselineOffset) control.destroy() } } |