aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/buttons
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-06-08 15:33:52 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-06-08 19:49:27 +0000
commitd42c2e088abbf961dae0077b7d865f4cae4a32fb (patch)
tree249380731f0af5f6cf4c77daea4c66cb92abc92c /tests/manual/buttons
parent20d141034b48ae73eee70743dc410d35491cd00f (diff)
Fix warnings in the buttons manual test
QQuickIconLabel::font doesn't have a notifier signal: QQmlExpression: Expression qrc:/ButtonLoader.qml:95:29 depends on non-NOTIFYable properties: QQuickIconLabel::font => Use QQuickControl::font instead. Change-Id: I63eec0a5f258971bc44a7866fee018e261eb4d6e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/manual/buttons')
-rw-r--r--tests/manual/buttons/ButtonLoader.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/buttons/ButtonLoader.qml b/tests/manual/buttons/ButtonLoader.qml
index 38ca4fc3..47b265ec 100644
--- a/tests/manual/buttons/ButtonLoader.qml
+++ b/tests/manual/buttons/ButtonLoader.qml
@@ -92,7 +92,7 @@ Item {
Label {
text: root.text
- font.pixelSize: roundButton.contentItem.font.pixelSize * 0.5
+ font.pixelSize: roundButton.font.pixelSize * 0.5
anchors.top: parent.bottom
anchors.topMargin: 2
anchors.horizontalCenter: parent.horizontalCenter