[doc] Fix qHash(QPixmapCache::Key) overload's absent docs

The \fn was missing in front of the signature line, and the scope
wasn't correct, either (Key:: missing). Add both.

Also remove the unneeded default argument (qdoc figures those out by
itself).

Amends 7fa3267fda6cff720cca44e829f9a39789031a54.

Change-Id: I7732760945ff23c0d83e06a75b3db8213ca020e5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 095340fc1173537ee286f9a37b799ccf2e602508)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2024-10-09 18:34:37 +02:00 committed by Qt Cherry-pick Bot
parent 90ed68910f
commit 456702e7e0

View File

@ -218,7 +218,7 @@ QT_BEGIN_INCLUDE_NAMESPACE
QT_END_INCLUDE_NAMESPACE
/*!
size_t QPixmapCache::qHash(const Key &key, size_t seed = 0);
\fn size_t QPixmapCache::Key::qHash(const Key &key, size_t seed)
\since 6.6
Returns the hash value for the \a key, using \a seed to seed the calculation.