summaryrefslogtreecommitdiffstats
path: root/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp')
-rw-r--r--tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp
index 3e01d18ffd..e25199c87f 100644
--- a/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp
+++ b/tests/auto/dbus/qdbusxmlparser/tst_qdbusxmlparser.cpp
@@ -34,8 +34,8 @@ private slots:
void tst_QDBusXmlParser::initTestCase()
{
- // Always initialize the hash seed to 0 to get reliable test results
- qSetGlobalQHashSeed(0);
+ // Always initialize the hash seed with a known value to get reliable test results
+ QHashSeed::setDeterministicGlobalSeed();
}
void tst_QDBusXmlParser::parsing_data()