From afaaeb6dc16315c78091653a2662be41781ddfd3 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 17 Apr 2018 14:17:39 +0200 Subject: Set the list of available account plugins from cmake --- views/accounts/qml/View.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/accounts/qml') 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 FocusScope { id: root //Defines available account types. - property var availableAccountPlugins: ["kolabnow", "imap", "maildir", "gmail"] + property var availableAccountPlugins: KubeAccounts.AccountConfiguration.availableAccountPlugins //Defines whether more than one account is supported. property bool singleAccountMode: availableAccountPlugins.length == 1 -- cgit v1.2.3