aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2022-03-31 12:47:29 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2022-03-31 20:57:12 +0300
commit47a7a9e16922b22fb0adc5b138348ea7cf49a212 (patch)
tree8ef2bb90ec355f12a8cd6caf49fa1f49e0e923a7
parentde69ef24b15fde429bbc04b7bffea667e83b8168 (diff)
Add workaround for QML compiler bug
This change is required before the bug in the QML compiler is fixed and the virtual keyboard is ported to declarative type registrations. Without this, there is a runtime error: FunctionPopupList.qml:88:13: Unable to assign [undefined] to bool Task-number: QTBUG-102152 Task-number: QTBUG-100783 Change-Id: Iea5d01f8a089c0dc2c84aab0b04984c736c51380 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/virtualkeyboard/content/components/FunctionPopupList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtualkeyboard/content/components/FunctionPopupList.qml b/src/virtualkeyboard/content/components/FunctionPopupList.qml
index 055377ae..c3799f02 100644
--- a/src/virtualkeyboard/content/components/FunctionPopupList.qml
+++ b/src/virtualkeyboard/content/components/FunctionPopupList.qml
@@ -85,7 +85,7 @@ Item {
target: backgroundLoader.item
property: "view"
value: listView
- when: backgroundLoader.item && backgroundLoader.item.hasOwnProperty("view")
+ when: backgroundLoader.item !== null && backgroundLoader.item.hasOwnProperty("view")
}
}