diff options
author | Marc Mutz <[email protected]> | 2025-03-07 15:57:00 +0100 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-03-11 17:06:23 +0100 |
commit | ab1ce95c8ce38683477373cf84ba5686ea00efed (patch) | |
tree | 3fc1b905da91d9a528523ffa3f722b4a5fd85a83 /src/gui/opengl/qopenglprogrambinarycache.cpp | |
parent | b83f104889ecf79e9ff0f5724774736bd21416c2 (diff) |
[docs] QString: fix link and formatting in the qPrintable() discussion
The old code used a `<QString>` to indicate an object of QString
type. I have not seen this pattern used elsewhere, so rewrite the
expression to say "call X on the QString" instead of "call
<QString>.X".
Also, the constData() link in the expression ('X' in the previous
paragraph) was unqualified, so resolved to QString::constData(), but
the result of toLocal8Bit() is a QByteArray, and it's thence the link
should point to. Redirect it manually whereever we fell into that
trap.
Amends the start of the public history.
Pick-to: 6.9 6.8 6.5 5.15
Change-Id: I2204522351976be0f045bfd60a30c82c9e784dd6
Reviewed-by: Edward Welbourne <[email protected]>
Reviewed-by: Ivan Solovev <[email protected]>
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions