summaryrefslogtreecommitdiff
path: root/gui/qml/main.qml
diff options
context:
space:
mode:
authorkali <kali@leap.se>2021-02-19 12:20:55 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-02-26 22:40:44 +0100
commit4a4b6b46f84c28640c711655f4f3c339ccf8fbba (patch)
treefd17ca92a5366251133b400866e8a5e97891712f /gui/qml/main.qml
parent51308ecd42d4c8d7724a8eaf517294fd9d369cf0 (diff)
[pkg] improve osx installer
- install into global /Applications - document how to troubleshoot helper - uninstall app is visible on top-level folder - improve detection of running processes for old and new binaries - Closes: #441 - Closes: #445 - Closes: #435
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r--gui/qml/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 14f0776..e4cf956 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -9,6 +9,8 @@ ApplicationWindow {
id: app
visible: false
+ flags: Qt.FramelessWindowWint | Qt.WindowsStaysOnTopHint | Qt.Popup
+
property var ctx
property var loginDone
property var allowEmptyPass
@@ -308,6 +310,8 @@ ApplicationWindow {
text: qsTr("About…")
onTriggered: {
about.visible = true
+ app.focus = true
+ requestActivate()
}
}