From 237ae78d0b5a91666420671987110c7e770b1fab Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Fri, 29 Jan 2010 15:56:45 +0100
Subject: [PATCH] QmlDesigner.propertyEditor: fixing qml warnings

---
 .../propertyeditor/Qt/Switches.qml            | 28 ++-----------------
 1 file changed, 2 insertions(+), 26 deletions(-)

diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
index e97a6646cc3..f054873146b 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Switches.qml
@@ -19,36 +19,16 @@ QFrame {
             id: standardMode;
             toolTip: "general item properties";
             //iconFromFile: "images/rect-icon.png";
-			text: "Basic"
+                        text: "Common"
             onClicked: {
                 extendedMode.checked = false;
                 layoutMode.checked = false;
-                specialMode.checked = false;
                 checked = true;
                 standardPane.visible = true;
                 extendedPane.visible = false;
                 layoutPane.visible = false;
-                specialPane.visible = false;
             }
-        }
-        QPushButton {
-            checkable: true;
-            checked: false;
-            id: specialMode;
-            toolTip: "type specific properties";
-			text: ""
-			visible: false
-            onClicked: {
-                extendedMode.checked = false;
-                standardMode.checked = false;
-                layoutMode.checked = false;
-                checked = true;
-                specialPane.visible = true;
-                standardPane.visible = false;
-                extendedPane.visible = false;
-                layoutPane.visible = false;
-            }
-        }
+        }        
         QPushButton {
             id: extendedMode;
             toolTip: "extended properties";
@@ -58,12 +38,10 @@ QFrame {
             onClicked: {
                 standardMode.checked = false;
                 layoutMode.checked = false;
-                specialMode.checked = false;
                 checked = true;
                 standardPane.visible = false;
                 extendedPane.visible = true;
                 layoutPane.visible = false;
-                specialPane.visible = false;
             }
         }
         QPushButton {
@@ -75,12 +53,10 @@ QFrame {
             onClicked: {
                 extendedMode.checked = false;
                 standardMode.checked = false;
-                specialMode.checked = false;
                 checked = true;
                 standardPane.visible = false;
                 extendedPane.visible = false;
                 layoutPane.visible = true;
-                specialPane.visible = false;
             }
         }
     }
-- 
GitLab