1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

SystrayIcon: Added 'open VirtScreen' menu

This commit is contained in:
Bumsik Kim 2018-05-14 17:56:08 -04:00
parent 78fc085590
commit 5dbd3139df
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6

View file

@ -57,7 +57,7 @@ Item {
Loader {
id: mainLoader
active: false
source: "mainWindow.qml"
source: "qml/AppWindow.qml"
onStatusChanged: {
console.log("Loader Status Changed.", status);
@ -179,6 +179,10 @@ Item {
MenuItem {
separator: true
}
MenuItem {
text: "Open VirtScreen"
onTriggered: sysTrayIcon.onActivated(SystemTrayIcon.Trigger)
}
MenuItem {
id: quitAction
text: qsTr("&Quit")