From 86a43c4f7e26f39f8a73f30d3da3faef84eef471 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 27 Apr 2025 16:56:25 -0400 Subject: [PATCH] Register TextHandler::Type with Q_ENUM This makes Qt spit out more useful debug messages when printing this enum. --- src/libneochat/texthandler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libneochat/texthandler.h b/src/libneochat/texthandler.h index a4329044f..9a240a6fa 100644 --- a/src/libneochat/texthandler.h +++ b/src/libneochat/texthandler.h @@ -37,6 +37,7 @@ public: TextCode, /*!< Text between code tags */ End, /*!< End of the input string */ }; + Q_ENUM(Type) /** * @brief Get the string being handled.