Add TextWithTags::empty method.

This commit is contained in:
John Preston 2022-10-25 11:19:52 +04:00
parent 4ba3000a28
commit c199a1722f

View file

@ -256,6 +256,10 @@ struct TextWithTags {
QString text;
Tags tags;
[[nodiscard]] bool empty() const {
return text.isEmpty();
}
};
inline bool operator==(const TextWithTags::Tag &a, const TextWithTags::Tag &b) {