Commit f20a966b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add equal operator

parent ebec7bd1
......@@ -75,6 +75,11 @@ MESSAGEVIEWER_EXPORT const QTextCodec *codecForName(const QByteArray &_str);
struct HtmlMessageInfo {
QString htmlSource;
QString extraHead;
Q_REQUIRED_RESULT bool operator==(const HtmlMessageInfo &other) const
return other.htmlSource == htmlSource
&& other.extraHead == extraHead;
Q_REQUIRED_RESULT MESSAGEVIEWER_EXPORT HtmlMessageInfo processHtml(const QString &htmlSource);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment