From ba550c4dcb0aeb8fb644d24b243fc80608a99adb Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 17 Jan 2025 10:18:58 +0100 Subject: [PATCH] QXRenderGlyphCache: Add QColor parameter for QFontEngineFT::loadGlyphFor Fixes build after commit 39df9e1858a4115bc19b6a4dee5d687c5ee00d21 Change-Id: Ice151b27591470ae81e07953f50e1abf9244ea28 Reviewed-by: Allan Sandfeld Jensen (cherry picked from commit 55a4c6e9fcb364a899da7dcb4e18f76158e38bb7) Reviewed-by: Qt Cherry-pick Bot (cherry picked from commit dc4f7e3ffad0a94a59b511b77463cd044c96fe07) (cherry picked from commit 198e8eb68e98f89df4a0f67d3428c9efcb0c1458) --- src/plugins/platforms/xcb/nativepainting/qpaintengine_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/xcb/nativepainting/qpaintengine_x11.cpp b/src/plugins/platforms/xcb/nativepainting/qpaintengine_x11.cpp index 743ff92654e..75da805c2d7 100644 --- a/src/plugins/platforms/xcb/nativepainting/qpaintengine_x11.cpp +++ b/src/plugins/platforms/xcb/nativepainting/qpaintengine_x11.cpp @@ -2587,7 +2587,7 @@ bool QXRenderGlyphCache::addGlyphs(const QTextItemInt &ti, } } - glyph = ft->loadGlyphFor(glyphs[i], spp, glyphFormat(), transform()); + glyph = ft->loadGlyphFor(glyphs[i], spp, glyphFormat(), transform(), QColor()); if (glyph == 0 || glyph->format != glyphFormat()) return false;