summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qfontinfo.h')
-rw-r--r--src/gui/text/qfontinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qfontinfo.h b/src/gui/text/qfontinfo.h
index edaed281fe..c0c478f0c2 100644
--- a/src/gui/text/qfontinfo.h
+++ b/src/gui/text/qfontinfo.h
@@ -59,6 +59,8 @@ public:
QFontInfo &operator=(const QFontInfo &);
+ void swap(QFontInfo &other) { qSwap(d, other.d); }
+
QString family() const;
QString styleName() const;
int pixelSize() const;