diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-07-07 16:36:38 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-07-08 22:14:52 +0200 |
commit | 0a1fe50d0bc32353bb7aaf8eef4759afd54901aa (patch) | |
tree | 525d3fdf824a5e1dc4742c870163db947f4dd38b /src/gui/text/qtextlayout.cpp | |
parent | 13764280b450c90ed65197d86cb8887d62fb13cc (diff) |
Pass QFixed by value
It's a glorified int, so pass it by value instead of cref.
Pick-to: 6.4
Change-Id: I1c7a37614cd0d2dac63d2d549563600d401d6dad
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@gmail.com>
Diffstat (limited to 'src/gui/text/qtextlayout.cpp')
-rw-r--r-- | src/gui/text/qtextlayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index d4146757c5..365131f508 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -2189,8 +2189,8 @@ static QGlyphRun glyphRunWithInfo(QFontEngine *fontEngine, const QGlyphLayout &glyphLayout, const QPointF &pos, const QGlyphRun::GlyphRunFlags &flags, - const QFixed &selectionX, - const QFixed &selectionWidth, + QFixed selectionX, + QFixed selectionWidth, int glyphsStart, int glyphsEnd, unsigned short *logClusters, |