diff options
author | kali <kali@win> | 2020-10-15 17:27:59 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-10-23 23:22:54 +0200 |
commit | a540f3f4e5524b5daf813b0bb831707f58545d43 (patch) | |
tree | 43f08367f5f61342359805f50de56332b1ea5212 /gui/qml | |
parent | 0176694cf5c418134a9eb183e021d03073065474 (diff) |
[pkg] windows gui & installer fixes
Diffstat (limited to 'gui/qml')
-rw-r--r-- | gui/qml/main.qml | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml index 04592a5..a3218de 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -88,28 +88,13 @@ ApplicationWindow { Component.onCompleted: { loginDone = false; - + console.debug("Platform:", Qt.platform.os); console.debug("DEBUG: Pre-seeded providers:"); console.debug(providers.getJson()); + allowEmptyPass = shouldAllowEmptyPass(); - allowEmptyPass = shouldAllowEmptyPass() - - 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(); - } + /* TODO get appVisible flag from backend */ + app.visible = false; } function toHuman(st) { |