diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2020-05-18 14:43:25 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2020-05-19 23:45:54 +0200 |
commit | 7c070ac95979609e6ba33b829dc4a2a373ef26b5 (patch) | |
tree | 9edc4cc4876a28ac45aeb0a3f036242b075c1092 /src/gui/kernel | |
parent | 857722ed8f16bb5b9e64154690f6b0bf3f880dd7 (diff) |
Sweep Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6 -> Q_DECLARE_SHARED
This is Qt 6, so Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6 is the same as
Q_DECLARE_SHARED.
Let's hope we'll collectively get better at detecting missing
Q_DECLARE_SHARED so we won't need a
Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT7 in the future.
Change-Id: I3da9faff4c66b64a3b257309012a2a10a6c6d027
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qcursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qcursor.h b/src/gui/kernel/qcursor.h index d3b4140ec7..21ea13c0d7 100644 --- a/src/gui/kernel/qcursor.h +++ b/src/gui/kernel/qcursor.h @@ -119,7 +119,7 @@ private: friend Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) noexcept; QCursorData *d; }; -Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) +Q_DECLARE_SHARED(QCursor) Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) noexcept; inline bool operator!=(const QCursor &lhs, const QCursor &rhs) noexcept { return !(lhs == rhs); } |