diff options
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:") |