PollHandler: Make sure it's not constructible from QML
(cherry picked from commit d6b780762e)
This commit is contained in:
@@ -30,6 +30,7 @@ class PollHandler : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QML_ELEMENT
|
||||
QML_UNCREATABLE("Use NeoChatRoom::poll")
|
||||
|
||||
/**
|
||||
* @brief The question for the poll.
|
||||
|
||||
Reference in New Issue
Block a user