summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-17 14:17:39 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-17 14:17:39 +0200
commitafaaeb6dc16315c78091653a2662be41781ddfd3 (patch)
tree6e6a28e39d6ee9a74c66c1aa9c13a4e930f4a431 /views
parent79f27c81dac3c8e7090cbc00cd65b3b9f5d8247a (diff)
downloadkube-afaaeb6dc16315c78091653a2662be41781ddfd3.tar.gz
kube-afaaeb6dc16315c78091653a2662be41781ddfd3.zip
Set the list of available account plugins from cmake
Diffstat (limited to 'views')
-rw-r--r--views/accounts/qml/View.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/accounts/qml/View.qml b/views/accounts/qml/View.qml
index 0bdab979..00fa845f 100644
--- a/views/accounts/qml/View.qml
+++ b/views/accounts/qml/View.qml
@@ -26,7 +26,7 @@ import org.kube.components.accounts 1.0 as KubeAccounts
26FocusScope { 26FocusScope {
27 id: root 27 id: root
28 //Defines available account types. 28 //Defines available account types.
29 property var availableAccountPlugins: ["kolabnow", "imap", "maildir", "gmail"] 29 property var availableAccountPlugins: KubeAccounts.AccountConfiguration.availableAccountPlugins
30 //Defines whether more than one account is supported. 30 //Defines whether more than one account is supported.
31 property bool singleAccountMode: availableAccountPlugins.length == 1 31 property bool singleAccountMode: availableAccountPlugins.length == 1
32 32