diff options
Diffstat (limited to 'src/corelib/plugin/quuid.cpp')
| -rw-r--r-- | src/corelib/plugin/quuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp index 42f21eea88c..8c3b758aaca 100644 --- a/src/corelib/plugin/quuid.cpp +++ b/src/corelib/plugin/quuid.cpp @@ -119,7 +119,7 @@ static QUuid _q_uuidFromHex(const char *src) static QUuid createFromName(const QUuid &ns, const QByteArray &baseData, QCryptographicHash::Algorithm algorithm, int version) { QCryptographicHash hash(algorithm); - hash.addData(ns.toRfc4122()); + hash.addData(QByteArrayView{ns.toBytes()}); hash.addData(baseData); QByteArrayView hashResult = hash.resultView(); Q_ASSERT(hashResult.size() >= 16); |
