mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 10:40:59 +00:00
Don't invoke signal handlers directly
This generates a runtime warning on Qt 6.7
This commit is contained in:
@@ -256,7 +256,7 @@ CenteredGridView {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.RightButton;
|
||||
onClicked: {
|
||||
parent.onPressAndHold()
|
||||
parent.pressAndHold()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -271,7 +271,7 @@ CenteredGridView {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.RightButton;
|
||||
onClicked: {
|
||||
parent.onPressAndHold()
|
||||
parent.pressAndHold()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user