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:
parent
dc7199e47d
commit
09cf4cb72f
2 changed files with 18 additions and 12 deletions
6
main.qml
6
main.qml
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue