aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlerror.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-07-13 13:47:58 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-07-15 09:23:47 +0200
commitcfb38538acbb600b828543a3d7892780b96a1f9a (patch)
tree91cc86152822f1c741f48e35b624e43930344b7a /src/qml/qml/qqmlerror.h
parent47bf186e0c5c14c47c0b090f52fd8c915b5ea85c (diff)
Add equality operators for QQmlError and QQmlRefPointer
We need those to declare QProperties. Change-Id: I49bf656607931e5d50f6a07cac92b7e176bb2b75 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlerror.h')
-rw-r--r--src/qml/qml/qqmlerror.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlerror.h b/src/qml/qml/qqmlerror.h
index 8ea493c11d..449328fcd1 100644
--- a/src/qml/qml/qqmlerror.h
+++ b/src/qml/qml/qqmlerror.h
@@ -76,6 +76,7 @@ public:
void setMessageType(QtMsgType messageType);
QString toString() const;
+ friend bool Q_QML_EXPORT operator==(const QQmlError &a, const QQmlError &b);
private:
QQmlErrorPrivate *d;
};