Don't invoke signal handlers directly

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

No files matched your search

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