aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-02-07 14:41:09 +0100
committerEike Ziller <eike.ziller@digia.com>2014-02-19 09:15:25 +0100
commit7a4676c373307642f58fe076fb6a41195d8ba32c (patch)
tree7d7da8ed4e01f84b57242fc3c5136f759122011b /share
parent9b22f1523c4745e9cdbc086a325a4ad417894ea3 (diff)
Reference only public properties
This doesn't change anything, but the control property is "private" to button, prefer using the public root "button". Change-Id: I2dc4e92367ff196e2d02b74d6f97ebc0ee355a76 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/welcomescreen/widgets/Button.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/Button.qml b/share/qtcreator/welcomescreen/widgets/Button.qml
index a9214e709a..cb4a697765 100644
--- a/share/qtcreator/welcomescreen/widgets/Button.qml
+++ b/share/qtcreator/welcomescreen/widgets/Button.qml
@@ -59,7 +59,7 @@ Button {
antialiasing: true
radius: 3
- visible: !(control.pressed || control.checked)
+ visible: !(button.pressed || button.checked)
gradient: Gradient {
GradientStop {
@@ -91,7 +91,7 @@ Button {
antialiasing: true
radius: 3
- visible: control.pressed || control.checked
+ visible: button.pressed || button.checked
gradient: Gradient {
GradientStop {
@@ -120,8 +120,8 @@ Button {
x: button.iconSource != "" ? 38 : 14
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
- text: control.text
- color: control.pressed || control.checked ? "lightGray" : "black"
+ text: button.text
+ color: button.pressed || button.checked ? "lightGray" : "black"
font.pixelSize: 15
font.bold: false
smooth: true