summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Kvinge <[email protected]>2025-01-17 10:18:58 +0100
committerJonas Kvinge <[email protected]>2025-01-21 05:17:21 +0000
commitba550c4dcb0aeb8fb644d24b243fc80608a99adb (patch)
treea313a101f84b4eaebcde3b304d85a578f76f11a7
parent085780b3d858aeee4157fb618954f2a61363464e (diff)
QXRenderGlyphCache: Add QColor parameter for QFontEngineFT::loadGlyphFor
Fixes build after commit 39df9e1858a4115bc19b6a4dee5d687c5ee00d21 Change-Id: Ice151b27591470ae81e07953f50e1abf9244ea28 Reviewed-by: Allan Sandfeld Jensen <[email protected]> (cherry picked from commit 55a4c6e9fcb364a899da7dcb4e18f76158e38bb7) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit dc4f7e3ffad0a94a59b511b77463cd044c96fe07) (cherry picked from commit 198e8eb68e98f89df4a0f67d3428c9efcb0c1458)
-rw-r--r--src/plugins/platforms/xcb/nativepainting/qpaintengine_x11.cpp2
1 files changed, 1 insertions, 1 deletions
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;