From 095340fc1173537ee286f9a37b799ccf2e602508 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 9 Oct 2024 18:34:37 +0200 Subject: [PATCH] [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 --- src/gui/image/qpixmapcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/image/qpixmapcache.cpp b/src/gui/image/qpixmapcache.cpp index 70ab55a818a..cccb073583f 100644 --- a/src/gui/image/qpixmapcache.cpp +++ b/src/gui/image/qpixmapcache.cpp @@ -219,7 +219,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.