chore(@StatusITrayIcon.qml): object names

This commit is contained in:
Anastasiya Semenkevich 2023-11-01 18:07:00 +03:00 committed by Anastasiya
parent bcdb37b0c5
commit 544b2c1806
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,8 @@ import Status.Assets
SystemTrayIcon {
id: root
objectName: "systemTrayIcon"
property bool production: true
signal showApplication()
@ -23,6 +25,8 @@ SystemTrayIcon {
menu: Menu {
MenuItem {
objectName: "openTrayMenuItem"
text: qsTr("Open Status")
onTriggered: root.showApplication()
}
@ -31,6 +35,8 @@ SystemTrayIcon {
}
MenuItem {
objectName: "quitTrayMenuItem"
text: qsTr("Quit")
onTriggered: Qt.quit()
}