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:
Matthieu Gallien 2022-10-11 22:15:05 +02:00 committed by Matthieu Gallien
parent 69d2b06f3d
commit 8cf778ba94

View file

@ -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 {