summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkrequest
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2024-05-07 09:45:39 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2024-05-22 12:59:33 +0200
commit5cbe81dae2fdf2ab80bd4ef67bcce3e01a37bca8 (patch)
tree9552a3a22fb6b48c43d8c3b22f85e82961383f96 /tests/auto/qnetworkrequest
parent1688680fb6b826738796a5f399089314ea4ed192 (diff)
QLibraryInfo: Refactor in preparation of multiple entries (1/2)
Extract the path normalization into a helper function, and use qScopeGuard for leaving QSetting's group. Moreover, slightly modernize the code by using sliced instead of mid, and by using the more appropriate qEnvironmentVariable over getenv (our target is a QString, and the variable contains user text). Change-Id: I08e600782864684f10ff03451c789e59cdb8febf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests/auto/qnetworkrequest')
0 files changed, 0 insertions, 0 deletions