diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-07-07 20:57:29 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-07-07 20:57:29 +0200 |
commit | df9d9f990ae97904f01af3b710042713d31da7f6 (patch) | |
tree | 6f38cce9f38a088b99cdaaf7d69de0ef2db4c54d /gui/qml/logic.js | |
parent | 39eb4a176ef2fe52247db4ca551fc0f945ffa2ae (diff) |
[ux] customize background for calyxvpn
Diffstat (limited to 'gui/qml/logic.js')
-rw-r--r-- | gui/qml/logic.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/qml/logic.js b/gui/qml/logic.js index 10ebfcd..4709008 100644 --- a/gui/qml/logic.js +++ b/gui/qml/logic.js @@ -65,6 +65,11 @@ function shouldAllowEmptyPass(providers) { return false } +function getSelectedProvider(providers) { + let obj = JSON.parse(providers.getJson()) + return obj['default'] +} + function debugInit() { console.debug("Platform:", Qt.platform.os) console.debug("DEBUG: Pre-seeded providers:") |