Removed custom context menu from SevenStart.

This commit is contained in:
wackyideas 2023-09-27 19:57:18 +02:00
parent e097a98c65
commit f8b1438847
1 changed files with 2 additions and 7 deletions

View File

@ -87,14 +87,9 @@ Item {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
acceptedButtons: Qt.LeftButton
onClicked: {
if(mouse.button == Qt.RightButton) {
var pos = plasmoid.mapToGlobal(mouse.x, mouse.y);
createContextMenu(pos);
} else {
root.showMenu();
}
root.showMenu();
}
}
}