fix QML mouse parameter deprecation warning
onClicked needs explicit function(mouse) parameter instead of implicit injection.
This commit is contained in:
parent
3d4e50a386
commit
0706a052f4
|
|
@ -535,7 +535,7 @@ ApplicationWindow {
|
|||
anchors.fill: parent
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
hoverEnabled: false
|
||||
onClicked: {
|
||||
onClicked: function(mouse) {
|
||||
if (mouse.button === Qt.RightButton) {
|
||||
if (type === "session") {
|
||||
sessionCtxMenu.popup()
|
||||
|
|
|
|||
Reference in New Issue