Register TextHandler::Type with Q_ENUM

This makes Qt spit out more useful debug messages when printing this
enum.
This commit is contained in:
Joshua Goins
2025-04-27 16:56:25 -04:00
parent 107f3b6616
commit 86a43c4f7e

View File

@@ -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.