summaryrefslogtreecommitdiff
path: root/src/controls/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Button.qml')
-rw-r--r--src/controls/Button.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Button.qml b/src/controls/Button.qml
index 73b3b349..c3f29238 100644
--- a/src/controls/Button.qml
+++ b/src/controls/Button.qml
@@ -110,11 +110,11 @@ BasicButton {
Connections {
target: __behavior
- onEffectivePressedChanged: {
+ function onEffectivePressedChanged() {
if (!Settings.hasTouchScreen && __behavior.effectivePressed && menu)
popupMenuTimer.start()
}
- onReleased: {
+ function onReleased() {
if (Settings.hasTouchScreen && __behavior.containsMouse && menu)
popupMenuTimer.start()
}