summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qicon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qicon.h')
-rw-r--r--src/gui/image/qicon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qicon.h b/src/gui/image/qicon.h
index fab8c3fe21..d5e192893a 100644
--- a/src/gui/image/qicon.h
+++ b/src/gui/image/qicon.h
@@ -70,7 +70,7 @@ public:
QIcon &operator=(const QIcon &other);
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QIcon)
inline void swap(QIcon &other) noexcept
- { qSwap(d, other.d); }
+ { qt_ptr_swap(d, other.d); }
bool operator==(const QIcon &) const = delete;
bool operator!=(const QIcon &) const = delete;