From 8b69b6c35d17e0ac398ae24017af35e5ee26773b Mon Sep 17 00:00:00 2001
From: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Date: Sun, 17 Feb 2013 18:05:57 +0100
Subject: [PATCH] Fix tab orientation in Gallery

Change-Id: If2e135f7d9da496097689c699a2decc81b74179b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
---
 examples/gallery/content/Controls.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/gallery/content/Controls.qml b/examples/gallery/content/Controls.qml
index 9a2b8a744..10a916c6c 100644
--- a/examples/gallery/content/Controls.qml
+++ b/examples/gallery/content/Controls.qml
@@ -47,7 +47,7 @@ Item {
     anchors.fill: parent
     enabled: enabledCheck.checked
 
-    property string tabPosition: tabPositionGroup.checkedButton == r2 ? "South" : "North"
+    property string tabPosition: tabPositionGroup.current === r2 ? "South" : "North"
 
     Row {
         id: contentRow
-- 
GitLab