Register TextHandler::Type with Q_ENUM
This makes Qt spit out more useful debug messages when printing this enum.
This commit is contained in:
@@ -37,6 +37,7 @@ public:
|
|||||||
TextCode, /*!< Text between code tags */
|
TextCode, /*!< Text between code tags */
|
||||||
End, /*!< End of the input string */
|
End, /*!< End of the input string */
|
||||||
};
|
};
|
||||||
|
Q_ENUM(Type)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get the string being handled.
|
* @brief Get the string being handled.
|
||||||
|
|||||||
Reference in New Issue
Block a user