From 98c4c2c917fe31fde9e84f05780869de159650d1 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 1 Jul 2011 12:10:40 +0200 Subject: [PATCH] Change name of "Close" button to the more accurate term "Clear" Change-Id: I24e7d27a4ef43ce1579e5068dae0d0f15eda24e6 Reviewed-on: http://codereview.qt.nokia.com/996 Reviewed-by: Qt Sanity Bot Reviewed-by: Daniel Molkentin --- .../welcomescreen/widgets/ExampleBrowser.qml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml b/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml index e91185144a6..cc86d29934b 100644 --- a/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml +++ b/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml @@ -100,12 +100,12 @@ Item { id: rect radius: 4 opacity: 0.3 - width: closeText.width+4 - height: closeText.height+4 - x: closeText.x-2 - y: closeText.y-2 + width: clearText.width+4 + height: clearText.height+4 + x: clearText.x-2 + y: clearText.y-2 } - Text { id: closeText; text: qsTr("Close"); color: "white"; anchors.centerIn: parent } + Text { id: clearText; text: qsTr("Clear"); color: "white"; anchors.centerIn: parent } MouseArea { id: mouseArea anchors.fill: parent @@ -139,12 +139,12 @@ Item { id: btnRect radius: 4 opacity: 0 - width: closeText.width+4 - height: closeText.height+4 - x: closeText.x-2 - y: closeText.y-2 + width: text.width+4 + height: text.height+4 + x: text.x-2 + y: text.y-2 } - Text { id: closeText; text: model.text; color: "white"; anchors.centerIn: parent } + Text { id: text; text: model.text; color: "white"; anchors.centerIn: parent } MouseArea { id: mouseArea anchors.fill: parent