From 4d1acf2e300bc497b9e98b3fa04bc4ea415c786a Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 6 May 2024 19:16:10 -0700 Subject: [PATCH] Don't invoke signal handlers directly This generates a runtime warning on Qt 6.7 --- app/gui/AppView.qml | 2 +- app/gui/PcView.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/gui/AppView.qml b/app/gui/AppView.qml index ae5e612e..8f2a0f9d 100644 --- a/app/gui/AppView.qml +++ b/app/gui/AppView.qml @@ -256,7 +256,7 @@ CenteredGridView { anchors.fill: parent acceptedButtons: Qt.RightButton; onClicked: { - parent.onPressAndHold() + parent.pressAndHold() } } diff --git a/app/gui/PcView.qml b/app/gui/PcView.qml index a71a9caf..cc41f724 100644 --- a/app/gui/PcView.qml +++ b/app/gui/PcView.qml @@ -271,7 +271,7 @@ CenteredGridView { anchors.fill: parent acceptedButtons: Qt.RightButton; onClicked: { - parent.onPressAndHold() + parent.pressAndHold() } }