mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
declare state property in AccountState
should make it more logic to find the property when needed Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
69d2b06f3d
commit
8cf778ba94
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class AccountState : public QObject, public QSharedData
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(AccountPtr account MEMBER _account)
|
||||
Q_PROPERTY(State state READ state NOTIFY stateChanged)
|
||||
|
||||
public:
|
||||
enum State {
|
||||
|
|
Loading…
Reference in a new issue