diff --git a/src/corelib/io/qresource.cpp b/src/corelib/io/qresource.cpp index 7dfc9b977c47a9db75635d16cc1138fb59018ea3..04ec81e159ab571d3bdcfdecac1790029a79dda1 100644 --- a/src/corelib/io/qresource.cpp +++ b/src/corelib/io/qresource.cpp @@ -665,7 +665,7 @@ int QResourceRoot::findNode(const QString &_path, const QLocale &locale) const qDebug() << " " << child+j << " :: " << name(child+j); } #endif - const uint h = qt_hash(segment.toString()); + const uint h = qt_hash(segment); //do the binary search for the hash int l = 0, r = child_count-1;