From f75c194e7cf9c8bfa054fa453cc561d1e2cf8402 Mon Sep 17 00:00:00 2001 From: Yifan Zhu Date: Wed, 10 Jan 2024 20:18:07 -0800 Subject: [PATCH] Call signals instead of signal handlers Directly calling signals is the supported way to send signals. Calling signal handlers worked in the past, but will be phased out in the future (https://bugreports.qt.io/browse/QTBUG-120573). --- src/qml/AccountEditorPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/AccountEditorPage.qml b/src/qml/AccountEditorPage.qml index a3056c457..b36a7ede9 100644 --- a/src/qml/AccountEditorPage.qml +++ b/src/qml/AccountEditorPage.qml @@ -61,7 +61,7 @@ FormCard.FormCardPage { text: i18n("Upload new avatar") display: QQC2.AbstractButton.IconOnly - onClicked: parent.onClicked() + onClicked: parent.clicked() QQC2.ToolTip.text: text QQC2.ToolTip.visible: hovered