Skip to content
Snippets Groups Projects
Unverified Commit 78155298 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[pkg] hide app window

parent 9664ba2d
No related branches found
No related tags found
No related merge requests found
......@@ -89,20 +89,27 @@ ApplicationWindow {
Component.onCompleted: {
loginDone = false;
/* stupid as it sounds, windows doesn't like to have the systray icon
not being attached to an actual application window.
We can still use this quirk, and can use the AppWindow with deferred
Loaders as a placeholder for all the many dialogs, or to load
a nice splash screen etc... */
console.debug("DEBUG: Pre-seeded providers:");
console.debug(providers.getJson());
allowEmptyPass = shouldAllowEmptyPass()
app.visible = true;
//show();
//hide();
console.debug("DEBUG platform":, Qt.platform.os)
if ("osx" == Qt.platform.os || "linux" == Qt.platform.os ) {
app.visible = false;
}
if ("windows" == Qt.platform.os) {
/* FIXME stupid as it sounds, windows doesn't like to have the systray icon
not being attached to an actual application window??
We can still use this quirk, and can use the AppWindow with deferred
Loaders as a placeholder for all the many dialogs, or to load
a nice splash screen etc... */
app.visible = true;
app.show();
app.hide();
}
}
function toHuman(st) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment