From d42c2e088abbf961dae0077b7d865f4cae4a32fb Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 8 Jun 2017 15:33:52 +0200 Subject: 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 --- tests/manual/buttons/ButtonLoader.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3