From b045bbb24cc4680df1181f09a56e9ecaeaed211f Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 18 Dec 2021 11:59:01 +0200 Subject: [PATCH] remove unused QFontEngine::FaceId::uuid member Signed-off-by: Ivailo Monev --- src/gui/text/qfontengine_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h index e8decae10..bdf59610a 100644 --- a/src/gui/text/qfontengine_p.h +++ b/src/gui/text/qfontengine_p.h @@ -101,7 +101,6 @@ public: struct FaceId { FaceId() : index(0), encoding(0) {} QByteArray filename; - QByteArray uuid; int index; int encoding; }; @@ -237,7 +236,7 @@ inline bool operator ==(const QFontEngine::FaceId &f1, const QFontEngine::FaceId inline uint qHash(const QFontEngine::FaceId &f) { - return qHash((f.index << 16) + f.encoding) + qHash(f.filename + f.uuid); + return qHash((f.index << 16) + f.encoding) + qHash(f.filename); } -- 2.11.0