From d6b780762ea676bef75c2577c8398f55866b7f74 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 9 Nov 2024 18:46:05 -0500 Subject: [PATCH] PollHandler: Make sure it's not constructible from QML --- src/pollhandler.h | 1 + 1 file changed, 1 insertion(+) 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.