diff options
author | Mate Barany <mate.barany@qt.io> | 2022-09-19 16:48:05 +0200 |
---|---|---|
committer | Mate Barany <mate.barany@qt.io> | 2022-09-26 17:00:30 +0200 |
commit | 9ff87af7afa22845b14613521456e53831c0c8ee (patch) | |
tree | 8ef179ac6d06b7e65053ecc5659f5dc83c6bc2a9 /tests/benchmarks/network | |
parent | fb9213e640b9b5612fd198b1d859d00a28642672 (diff) |
QtWidgets: Use C string literals as keys
Addressing a comment from the review of QTBUG-98434. QSettings has been
already ported to use QAnyStringView keys so use C literals to call
beginGroup, setValue and value.
Since the constructor of QSettings does not have an overload for
latin1 strings, change the calls to use u""_s instead of _L1.
Task-number: QTBUG-103100
Change-Id: I9407ac8cf9d4c6f045a774b2abe7541086401b07
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/benchmarks/network')
0 files changed, 0 insertions, 0 deletions