diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-23 12:06:03 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-24 19:48:15 +0100 |
commit | 1cd7bdeceb4e117976a8544021ab71125f982b04 (patch) | |
tree | fd887761f576bb9589e9f76ec5990248b3e4505a /src/sql/kernel | |
parent | 7d45117571a9dffbe7eb6c66849f6b0f21c44a5f (diff) |
Decode file-name to pass as QString to QFile::exists()
QSharedMemorySystemV::updateNativeKeyFile() stores the QBA
nativeKeyFile member using QFile::encodeName(), so feed it back
through QFile::decodeName() rather than relying on QString(QByteArray)
coercion, which might use a different encoding.
Fixes a CodeChecker grumble.
Change-Id: If9fb01ed65b5bba8c1070b4939ee1d87adf94743
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/sql/kernel')
0 files changed, 0 insertions, 0 deletions