diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-06-08 15:33:52 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-06-08 19:49:27 +0000 |
commit | d42c2e088abbf961dae0077b7d865f4cae4a32fb (patch) | |
tree | 249380731f0af5f6cf4c77daea4c66cb92abc92c /tests/manual | |
parent | 20d141034b48ae73eee70743dc410d35491cd00f (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')
-rw-r--r-- | tests/manual/buttons/ButtonLoader.qml | 2 |
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 |