chore(@StatusITrayIcon.qml): object names
This commit is contained in:
parent
bcdb37b0c5
commit
544b2c1806
|
@ -8,6 +8,8 @@ import Status.Assets
|
||||||
SystemTrayIcon {
|
SystemTrayIcon {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
objectName: "systemTrayIcon"
|
||||||
|
|
||||||
property bool production: true
|
property bool production: true
|
||||||
|
|
||||||
signal showApplication()
|
signal showApplication()
|
||||||
|
@ -23,6 +25,8 @@ SystemTrayIcon {
|
||||||
|
|
||||||
menu: Menu {
|
menu: Menu {
|
||||||
MenuItem {
|
MenuItem {
|
||||||
|
objectName: "openTrayMenuItem"
|
||||||
|
|
||||||
text: qsTr("Open Status")
|
text: qsTr("Open Status")
|
||||||
onTriggered: root.showApplication()
|
onTriggered: root.showApplication()
|
||||||
}
|
}
|
||||||
|
@ -31,6 +35,8 @@ SystemTrayIcon {
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
|
objectName: "quitTrayMenuItem"
|
||||||
|
|
||||||
text: qsTr("Quit")
|
text: qsTr("Quit")
|
||||||
onTriggered: Qt.quit()
|
onTriggered: Qt.quit()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue