diff --git a/src/pollhandler.h b/src/pollhandler.h index c19980348..3950cc383 100644 --- a/src/pollhandler.h +++ b/src/pollhandler.h @@ -30,6 +30,7 @@ class PollHandler : public QObject { Q_OBJECT QML_ELEMENT + QML_UNCREATABLE("Use NeoChatRoom::poll") /** * @brief The question for the poll.