diff options
Diffstat (limited to 'src/gui/text/qstatictext.h')
-rw-r--r-- | src/gui/text/qstatictext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qstatictext.h b/src/gui/text/qstatictext.h index 778861ed79..aafc43ed56 100644 --- a/src/gui/text/qstatictext.h +++ b/src/gui/text/qstatictext.h @@ -68,7 +68,7 @@ public: QStaticText &operator=(const QStaticText &); ~QStaticText(); - void swap(QStaticText &other) noexcept { qSwap(data, other.data); } + void swap(QStaticText &other) noexcept { data.swap(other.data); } void setText(const QString &text); QString text() const; |