From: Matthieu Gallien Date: Tue, 11 Oct 2022 20:15:05 +0000 (+0200) Subject: declare state property in AccountState X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~92^2^2~119^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8cf778ba949d1bf73c024f227ec61afa8eab59c1;p=nextcloud-desktop.git declare state property in AccountState should make it more logic to find the property when needed Signed-off-by: Matthieu Gallien --- diff --git a/src/gui/accountstate.h b/src/gui/accountstate.h index 5f7cebcfa..8ca27b38c 100644 --- a/src/gui/accountstate.h +++ b/src/gui/accountstate.h @@ -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 {