mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Removed custom context menu from SevenStart.
This commit is contained in:
parent
e097a98c65
commit
f8b1438847
1 changed files with 2 additions and 7 deletions
|
@ -87,14 +87,9 @@ Item {
|
||||||
id: mouseArea
|
id: mouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if(mouse.button == Qt.RightButton) {
|
|
||||||
var pos = plasmoid.mapToGlobal(mouse.x, mouse.y);
|
|
||||||
createContextMenu(pos);
|
|
||||||
} else {
|
|
||||||
root.showMenu();
|
root.showMenu();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue