From 57f3cd0c6832d13d616c10f57e60a4400c15ab9c Mon Sep 17 00:00:00 2001 From: Damiano Lombardi Date: Tue, 24 Aug 2021 22:17:10 +0200 Subject: [PATCH] Suppress CRITICAL error about QML connections syntax --- document_management_system/qml/DocumentList.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/document_management_system/qml/DocumentList.qml b/document_management_system/qml/DocumentList.qml index 65b8444..db9ed11 100644 --- a/document_management_system/qml/DocumentList.qml +++ b/document_management_system/qml/DocumentList.qml @@ -33,7 +33,10 @@ Item { Connections{ target: parentWidget - onSignalCurrentViewChanged: updateCurrentView() + function onSignalCurrentViewChanged() + { + updateCurrentView() + } } Rectangle {