aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml10
1 files changed, 2 insertions, 8 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
index ad584f76..4ab8e156 100644
--- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/ContextMenu.qml
@@ -12,9 +12,9 @@ import Lumina.Backend.RootDesktopObject 2.0
Menu {
id: contextMenu
- //closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
MenuItem {
text: "Lock Screen"
+ iconName: "system-lock-screen"
onTriggered: {
RootObject.lockscreen()
}
@@ -22,13 +22,7 @@ Menu {
MenuItem {
text: "Logout"
- //iconName: "system-log-out"
- /*indicator: Image{
- asynchronous: true
- //autoTransform: true
- //source: "image://theme/system-logout"
- source: "file:///usr/local/share/icons/material-design-light/scalable/actions/system-log-out.svg"
- }*/
+ iconName: "system-log-out"
onTriggered: {
RootObject.logout()
}
bgstack15