summaryrefslogtreecommitdiffstats
path: root/src/controls/Private/EditMenu_base.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-10-09 14:58:03 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-10-20 19:15:57 +0200
commitbdac502eadd746ee101b95e8d546b6bb754afdeb (patch)
treeb5d02d7094ef727ac4ede73e232740d9c72fb0bb /src/controls/Private/EditMenu_base.qml
parent158b7dafcb21b6f8816841636afba13ebde1c62a (diff)
Adapt to new Connections syntax
Change-Id: I299baf89f2530250a333736bb31f4ae470610176 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/controls/Private/EditMenu_base.qml')
-rw-r--r--src/controls/Private/EditMenu_base.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/EditMenu_base.qml b/src/controls/Private/EditMenu_base.qml
index 2ffbfdb20..346eba2da 100644
--- a/src/controls/Private/EditMenu_base.qml
+++ b/src/controls/Private/EditMenu_base.qml
@@ -154,7 +154,7 @@ Item {
Connections {
target: mouseArea
- onClicked: {
+ function onClicked() {
if (input.selectionStart === input.selectionEnd) {
var cursorPos = input.positionAt(mouse.x, mouse.y)
input.moveHandles(cursorPos, cursorPos)