Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Emit Signal once but getting the slot twice
FlacoDanziger last edited by
I created a signal from a c++ (keyButtonAction) and the slot is in the QML as
When I emit the signal keyButtonAction() the code invoke the slot twice?
Any idia why?
May be you are trying to change the property
KeyButtonActionsomewhere which in turn triggers the change signal ?
Asperamanca last edited by
From Qt docs: "Every connection you make emits a signal, so duplicate connections emit two signals."