From 4d14468029aa1c0fc4e16f9f0683d6f6aa626e02 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 1 Apr 2022 15:39:14 +0200 Subject: Revert "Add workaround for QML compiler bug" This reverts commit 47a7a9e16922b22fb0adc5b138348ea7cf49a212. If the issue has been fixed in qmlsc, we don't need the workaround anymore. Task-number: QTBUG-102152 Change-Id: I59041d53bcabd3cda6d01a2c2aa4371c80316758 Reviewed-by: Qt CI Bot Reviewed-by: Jarkko Koivikko --- src/components/FunctionPopupList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FunctionPopupList.qml b/src/components/FunctionPopupList.qml index 5f24a539..d9b2e1cd 100644 --- a/src/components/FunctionPopupList.qml +++ b/src/components/FunctionPopupList.qml @@ -59,7 +59,7 @@ Item { target: backgroundLoader.item property: "view" value: listView - when: backgroundLoader.item !== null && backgroundLoader.item.hasOwnProperty("view") + when: backgroundLoader.item && backgroundLoader.item.hasOwnProperty("view") } } -- cgit v1.2.3