diff options
Diffstat (limited to 'src/gui/text/qtextcursor.h')
-rw-r--r-- | src/gui/text/qtextcursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextcursor.h b/src/gui/text/qtextcursor.h index 59b32e0874..b33b05aacc 100644 --- a/src/gui/text/qtextcursor.h +++ b/src/gui/text/qtextcursor.h @@ -77,7 +77,7 @@ public: QTextCursor &operator=(const QTextCursor &other); ~QTextCursor(); - void swap(QTextCursor &other) noexcept { qSwap(d, other.d); } + void swap(QTextCursor &other) noexcept { d.swap(other.d); } bool isNull() const; |