diff options
Diffstat (limited to 'src/gui/kernel/qkeysequence.h')
-rw-r--r-- | src/gui/kernel/qkeysequence.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qkeysequence.h b/src/gui/kernel/qkeysequence.h index 61001dddbc..f614046748 100644 --- a/src/gui/kernel/qkeysequence.h +++ b/src/gui/kernel/qkeysequence.h @@ -186,7 +186,7 @@ public: QKeyCombination operator[](uint i) const; QKeySequence &operator=(const QKeySequence &other); QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QKeySequence) - void swap(QKeySequence &other) noexcept { qSwap(d, other.d); } + void swap(QKeySequence &other) noexcept { qt_ptr_swap(d, other.d); } bool operator==(const QKeySequence &other) const; inline bool operator!= (const QKeySequence &other) const |