summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-05 17:11:46 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-06 10:16:32 +0100
commitc9b8c2cddbd41c0c80bf46ad587ebb9a342255da (patch)
treeff5ccdfa514c197461f5273cfcd653e966c9abb5 /configure.cmake
parentaa6ad154243b514cd55b10af64b72f4fa3d1cd02 (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