diff --git a/src/models/messagemodel.h b/src/models/messagemodel.h index fb914e1d9..88d6881ec 100644 --- a/src/models/messagemodel.h +++ b/src/models/messagemodel.h @@ -45,6 +45,7 @@ class MessageModel : public QAbstractListModel { Q_OBJECT QML_ELEMENT + QML_UNCREATABLE("") /** * @brief The current room that the model is getting its messages from.