diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-11-05 17:11:46 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-11-06 10:16:32 +0100 |
commit | c9b8c2cddbd41c0c80bf46ad587ebb9a342255da (patch) | |
tree | ff5ccdfa514c197461f5273cfcd653e966c9abb5 /configure.cmake | |
parent | aa6ad154243b514cd55b10af64b72f4fa3d1cd02 (diff) |
QLineEdit: check a int->QChar conversion, and make it explicit
QStyle::styleHint returns int, and that int was simply used to
build a QChar representing the "password mask" character.
Enforce that it actually fits and then do an explicit cast.
(In general, of course, this is an API flaw; styleHint should
somehow return a QString for this use case).
Change-Id: Ifb6181b229b91cc84859cb9b9d57e21d6748c31a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'configure.cmake')
0 files changed, 0 insertions, 0 deletions