summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qfont.h')
-rw-r--r--src/gui/text/qfont.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/text/qfont.h b/src/gui/text/qfont.h
index 5e2fd5227b..38086a989d 100644
--- a/src/gui/text/qfont.h
+++ b/src/gui/text/qfont.h
@@ -161,6 +161,9 @@ public:
QFont(const QFont &);
~QFont();
+ void swap(QFont &other)
+ { qSwap(d, other.d); qSwap(resolve_mask, other.resolve_mask); }
+
QString family() const;
void setFamily(const QString &);