summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qdistancefield_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-06-06 22:03:58 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-06-06 22:04:16 +0200
commit0624c99ea3d52f07c93378fcf75c3121df1b3928 (patch)
tree937595a03f8889f80cac4cc087412660fdeebca7 /src/gui/text/qdistancefield_p.h
parent2c51a91e03de48e6a0fa215e265fe4a6a85c02f6 (diff)
QDistanceField: add missing copy assignment operator
As found by GCC, while compiling qt5/qttools/src/distancefieldgenerator/mainwindow.cpp. Change-Id: I155c0b8b09bd12c12af0bd69e19747485be960e1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/text/qdistancefield_p.h')
-rw-r--r--src/gui/text/qdistancefield_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qdistancefield_p.h b/src/gui/text/qdistancefield_p.h
index 1a1b6866a2..dc5d5a9a02 100644
--- a/src/gui/text/qdistancefield_p.h
+++ b/src/gui/text/qdistancefield_p.h
@@ -95,6 +95,7 @@ public:
QDistanceField(QFontEngine *fontEngine, glyph_t glyph, bool doubleResolution = false);
QDistanceField(const QPainterPath &path, glyph_t glyph, bool doubleResolution = false);
QDistanceField(const QDistanceField &other);
+ QDistanceField &operator=(const QDistanceField &other);
bool isNull() const;