chore(@StatusITrayIcon.qml): object names
This commit is contained in:
parent
bcdb37b0c5
commit
544b2c1806
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue