Don't invoke signal handlers directly

This generates a runtime warning on Qt 6.7
This commit is contained in:
Cameron Gutman 2024-05-06 19:16:10 -07:00
parent db4739b82d
commit 4d1acf2e30
2 changed files with 2 additions and 2 deletions

View file

@ -256,7 +256,7 @@ CenteredGridView {
anchors.fill: parent
acceptedButtons: Qt.RightButton;
onClicked: {
parent.onPressAndHold()
parent.pressAndHold()
}
}

View file

@ -271,7 +271,7 @@ CenteredGridView {
anchors.fill: parent
acceptedButtons: Qt.RightButton;
onClicked: {
parent.onPressAndHold()
parent.pressAndHold()
}
}