Remove disappeared QIconEngine::IconNameHook from QIcon

QIconEngine::IconNameHook disappeared,see commit
fce84f76f0

Fixes: QTBUG-98755
Pick-to: 6.2 6.3
Change-Id: Id0600b5682de4bfeaae9ca4e975d454d7ee158ff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
ChunLin Wang 2022-03-10 17:32:57 +08:00 committed by Volker Hilsheimer
parent 367f96aedf
commit 3017f59345
1 changed files with 2 additions and 3 deletions

View File

@ -1137,10 +1137,9 @@ QList<QSize> QIcon::availableSizes(Mode mode, State state) const
Returns the name used to create the icon, if available.
Depending on the way the icon was created, it may have an associated
name. This is the case for icons created with fromTheme() or icons
using a QIconEngine which supports the QIconEngine::IconNameHook.
name. This is the case for icons created with fromTheme().
\sa fromTheme(), QIconEngine
\sa fromTheme(), QIconEngine::iconName()
*/
QString QIcon::name() const
{