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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user