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