summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-08-26 17:35:52 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-08-30 22:46:34 +0200
commit35a50491e703e4833020be66073b8cdd310bc859 (patch)
tree97ba65cef48e5c9177e034226892ca5eb86cebae /src/tools
parentc81d5ec19a3bb85a4b8197bd3176dc873c3b7a68 (diff)
QtBase tools: port away from deprecated qSetGlobalQHashSeed(0)
Use QHashSeed::setDeterministicGlobalSeed() instead Task-number: QTBUG-105102 Change-Id: Ib7d4b6e7bca89870913a140d68bbdd6018e8f8ed Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/uic/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/uic/main.cpp b/src/tools/uic/main.cpp
index 01712da485..467bcc5574 100644
--- a/src/tools/uic/main.cpp
+++ b/src/tools/uic/main.cpp
@@ -20,7 +20,7 @@ using namespace Qt::StringLiterals;
int runUic(int argc, char *argv[])
{
- qSetGlobalQHashSeed(0); // set the hash seed to 0
+ QHashSeed::setDeterministicGlobalSeed();
QCoreApplication app(argc, argv);
QCoreApplication::setApplicationVersion(QString::fromLatin1(QT_VERSION_STR));