[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.

Pick-to: 6.8
Change-Id: I7732760945ff23c0d83e06a75b3db8213ca020e5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Marc Mutz 2024-10-09 18:34:37 +02:00
parent e138a01aef
commit 095340fc11

View File

@ -219,7 +219,7 @@ QT_BEGIN_INCLUDE_NAMESPACE
QT_END_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 \since 6.6
Returns the hash value for the \a key, using \a seed to seed the calculation. Returns the hash value for the \a key, using \a seed to seed the calculation.