diff --git a/Linphone/core/chat/ChatProxy.hpp b/Linphone/core/chat/ChatProxy.hpp index 2356ccfa2..e86d396c1 100644 --- a/Linphone/core/chat/ChatProxy.hpp +++ b/Linphone/core/chat/ChatProxy.hpp @@ -30,7 +30,7 @@ class ChatProxy : public SortFilterProxy, public AbstractObject { Q_OBJECT - Q_PROPERTY(QAbstractItemModel *model WRITE setSourceModel NOTIFY modelChanged) + Q_PROPERTY(QAbstractItemModel *model READ sourceModel WRITE setSourceModel NOTIFY modelChanged) public: ChatProxy(QObject *parent = Q_NULLPTR);