From 2b8653a06a716fda634d71ada0230b2076c3f639 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 24 Oct 2017 10:46:26 +0200 Subject: Only load the login view for accounts that require a keyring --- framework/src/keyring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/src/keyring.h') diff --git a/framework/src/keyring.h b/framework/src/keyring.h index df25dbff..5d2c7544 100644 --- a/framework/src/keyring.h +++ b/framework/src/keyring.h @@ -28,7 +28,7 @@ public: Keyring(); static Keyring *instance(); Q_INVOKABLE bool isUnlocked(const QByteArray &accountId); - void unlock(const QByteArray &accountId); + Q_INVOKABLE void unlock(const QByteArray &accountId); private: Q_DISABLE_COPY(Keyring); -- cgit v1.2.3