QPcscSlotName: add missing qHash() overload
The class was relying on the implicit conversion to its base class,
QString or QByteArray, for hashing. This involves the 1-to-2-arg
qHash() adapter, which we want to get rid of.
While this construct would probably continue to work with the adapter
simply absent, mere absence of the adapter is unsafe, as it can change
the hash value, cf. linked Jira ticket for details.
So we need to deprecate and/or =delete the adapter instead, and then
this class would throw a warning or an error, so grab the nettle and
write a qHash() overload that just calls the one for the base
class. Seeing as this is private API, we don't need to maintain
compatibility with the implicit version created by the adapter, so we
can just use the idiomatic implementation.
Amends 44d474a0fc1a2b6352c5cb83d389aa129e9f09c4 (6.4).
Pick-to: 6.11 6.8
Task-number: QTBUG-145851
Change-Id: Iaea531377d7bb5f4521dc63f20f97b709ca7df2d
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>