diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-09 09:35:59 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-10 12:42:13 +0100 |
commit | 6d726bb10386b3d7f5481d41b735ec06cb2163ad (patch) | |
tree | 4d591b67b54c5a83f9f1d718a4576c8ccf05859b /framework/qml | |
parent | 2d9944bd0b5cd1dd202d9dc6318d612e1aca4241 (diff) | |
download | kube-6d726bb10386b3d7f5481d41b735ec06cb2163ad.tar.gz kube-6d726bb10386b3d7f5481d41b735ec06cb2163ad.zip |
Install composer/converations/people as separate views and load them
dynamically.
Diffstat (limited to 'framework/qml')
-rw-r--r-- | framework/qml/LoginAccount.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/qml/LoginAccount.qml b/framework/qml/LoginAccount.qml index f02050ae..261746d5 100644 --- a/framework/qml/LoginAccount.qml +++ b/framework/qml/LoginAccount.qml | |||
@@ -26,10 +26,12 @@ Item { | |||
26 | property string accountId | 26 | property string accountId |
27 | property bool canRemove: true | 27 | property bool canRemove: true |
28 | 28 | ||
29 | signal done() | ||
30 | |||
29 | function login() { | 31 | function login() { |
30 | loader.item.login() | 32 | loader.item.login() |
31 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier}); | 33 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": loader.item.accountIdentifier}); |
32 | Kube.Fabric.postMessage(Kube.Messages.componentDone, {}) | 34 | root.done() |
33 | } | 35 | } |
34 | 36 | ||
35 | Kube.AccountFactory { | 37 | Kube.AccountFactory { |