From 3017f593451470502bccb3273a17c42ac55d6d5d Mon Sep 17 00:00:00 2001 From: ChunLin Wang Date: Thu, 10 Mar 2022 17:32:57 +0800 Subject: [PATCH] Remove disappeared QIconEngine::IconNameHook from QIcon QIconEngine::IconNameHook disappeared,see commit fce84f76f04957e51f1d92129236733d9bf7d08a Fixes: QTBUG-98755 Pick-to: 6.2 6.3 Change-Id: Id0600b5682de4bfeaae9ca4e975d454d7ee158ff Reviewed-by: Volker Hilsheimer --- src/gui/image/qicon.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/image/qicon.cpp b/src/gui/image/qicon.cpp index 50ab65a3c3..de99474119 100644 --- a/src/gui/image/qicon.cpp +++ b/src/gui/image/qicon.cpp @@ -1137,10 +1137,9 @@ QList 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 {