diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-26 17:40:24 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-08-29 20:48:09 +0200 |
commit | 309e2e864fae14089667f625acd1688a4d469943 (patch) | |
tree | c302afb5e7d7d695633db68b044c778b4cab94ca /tools/qmllint/main.cpp | |
parent | f9205f39188ba769e597d87e15b0233bcc9776da (diff) |
QtDeclarative: port away from deprecated qSetGlobalQHashSeed(0)
Use QHashSeed::setDeterministicGlobalSeed() instead
Task-number: QTBUG-105102
Change-Id: I1d13f3872b335ff9998f7c4538d3b9c3c77fe232
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tools/qmllint/main.cpp')
-rw-r--r-- | tools/qmllint/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp index 7c6378b518..95cd2ec29c 100644 --- a/tools/qmllint/main.cpp +++ b/tools/qmllint/main.cpp @@ -31,7 +31,7 @@ constexpr int JSON_LOGGING_FORMAT_REVISION = 3; int main(int argv, char *argc[]) { - qSetGlobalQHashSeed(0); + QHashSeed::setDeterministicGlobalSeed(); QList<QQmlJSLogger::Category> categories; QCoreApplication app(argv, argc); |