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

Password: Pass password to pipe, to hide password in command line

This commit is contained in:
Bumsik Kim 2018-05-13 22:19:17 -04:00
parent dc7199e47d
commit 09cf4cb72f
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
2 changed files with 18 additions and 12 deletions

View file

@ -60,7 +60,7 @@ Item {
source: "mainWindow.qml"
onStatusChanged: {
console.log("Status changed", status);
console.log("Loader Status Changed.", status);
if (status == Loader.Null) {
gc();
// This cause memory leak at this moment.
@ -71,8 +71,7 @@ Item {
onLoaded: {
window.onVisibleChanged.connect(function(visible) {
if (!visible) {
console.log('hiding');
console.log("unloading...");
console.log("Unloading ApplicationWindow...");
mainLoader.active = false;
}
});
@ -119,7 +118,6 @@ Item {
}
onActivated: function(reason) {
console.log(reason);
if (reason == SystemTrayIcon.Context) {
return;
}