diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-07-13 13:47:58 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-07-15 09:23:47 +0200 |
commit | cfb38538acbb600b828543a3d7892780b96a1f9a (patch) | |
tree | 91cc86152822f1c741f48e35b624e43930344b7a /src/qml/qml/qqmlerror.h | |
parent | 47bf186e0c5c14c47c0b090f52fd8c915b5ea85c (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.h | 1 |
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; }; |