diff options
Diffstat (limited to 'src/gui/kernel/qeventpoint.h')
-rw-r--r-- | src/gui/kernel/qeventpoint.h | 2 |
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; |