summaryrefslogtreecommitdiff
path: root/src/gui/text/qglyphrun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qglyphrun.h')
-rw-r--r--src/gui/text/qglyphrun.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qglyphrun.h b/src/gui/text/qglyphrun.h
index b590775d8b..8188e13e27 100644
--- a/src/gui/text/qglyphrun.h
+++ b/src/gui/text/qglyphrun.h
@@ -71,6 +71,8 @@ public:
QGlyphRun(const QGlyphRun &other);
~QGlyphRun();
+ void swap(QGlyphRun &other) { qSwap(d, other.d); }
+
QRawFont rawFont() const;
void setRawFont(const QRawFont &rawFont);