summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qeventpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qeventpoint.h')
-rw-r--r--src/gui/kernel/qeventpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qeventpoint.h b/src/gui/kernel/qeventpoint.h
index fbcdc20193..1e4eca040d 100644
--- a/src/gui/kernel/qeventpoint.h
+++ b/src/gui/kernel/qeventpoint.h
@@ -102,7 +102,7 @@ public:
bool operator!=(const QEventPoint &other) const noexcept { return !operator==(other); }
~QEventPoint();
inline void swap(QEventPoint &other) noexcept
- { qSwap(d, other.d); }
+ { d.swap(other.d); }
QPointF position() const;
QPointF pressPosition() const;