diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2022-03-18 15:49:38 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-19 01:55:53 +0000 |
commit | a8eda1de24f1034f57810156622f0edd68aa13df (patch) | |
tree | e1dd2d46161bdfaaf0b8db7079226f1522f318ce /tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp | |
parent | 9123674cdbbd04791c7c5b8bc943964f1298a3d5 (diff) |
Styled text: Remove an unneeded QString allocation and copy
QColor can take QStringView, and QStringView has a toInt function
Change-Id: I2388f7fd329e817e45210fadbd8a2a3ab559707a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 2c959a83962ba373c469cab6e89f474a0b4a93e9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp')
0 files changed, 0 insertions, 0 deletions