From 8cf778ba949d1bf73c024f227ec61afa8eab59c1 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 11 Oct 2022 22:15:05 +0200 Subject: [PATCH] declare state property in AccountState should make it more logic to find the property when needed Signed-off-by: Matthieu Gallien --- src/gui/accountstate.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/accountstate.h b/src/gui/accountstate.h index 5f7cebcfab..8ca27b38c3 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 {