Skip to content

fix triggering mailto: and tel: actions twice

Both the onClicked and onPressed events are defined in emailRepeater and phoneRepeater components; this causes launching the relevant application twice at the same time. Qt's MouseArea documentation states that "A click is defined as a press followed by a release [...]" [1], therefore this fix removes the extra onPressed handlers.

[1] https://doc.qt.io/qt-5/qml-qtquick-mousearea.html#clicked-signal

Merge request reports