From 55a4c6e9fcb364a899da7dcb4e18f76158e38bb7 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 Pick-to: 6.8 6.9 Change-Id: Ice151b27591470ae81e07953f50e1abf9244ea28 Reviewed-by: Allan Sandfeld Jensen --- 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;