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).
This commit is contained in:
Yifan Zhu
2024-01-10 20:18:07 -08:00
parent ecf93de006
commit f75c194e7c

View File

@@ -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