From 31b60b45b7bd4b394f25533706596f49de8896ce Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Tue, 13 Apr 2010 13:28:21 +0200
Subject: [PATCH] QmlDesigner.propertyEditor add button for reseting to
 FontComoBox

See: BAUHAUS-478
---
 .../qmldesigner/propertyeditor/Qt/FontComboBox.qml        | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontComboBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontComboBox.qml
index e330d17df27..b3cedfeca39 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/FontComboBox.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/FontComboBox.qml
@@ -54,7 +54,7 @@ QWidget {
 
     ColorScheme { id:scheme; }
 
-    layout: HorizontalLayout {
+    layout: HorizontalLayout {        
         QFontComboBox {
             id: fontSelector            
 			
@@ -68,4 +68,10 @@ QWidget {
                 }
         }
     }
+     ExtendedFunctionButton {
+        backendValue: fontComboBox.backendValue
+        y: 4
+        x: 2
+        visible: fontComboBox.enabled
+    }
 }
-- 
GitLab