diff options
author | ChunLin Wang <wangchunlin@uniontech.com> | 2022-03-10 17:32:57 +0800 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-14 03:00:20 +0000 |
commit | 5e66ef0d370de995bbf5a8ca4ab39c89f1d4ccc4 (patch) | |
tree | abbfe02522148343d8597fa1fd558e9048c8c7f2 /src/gui | |
parent | b922234cadace0f388e4b2b5eeae35fcf85f92c0 (diff) |
Remove disappeared QIconEngine::IconNameHook from QIcon
QIconEngine::IconNameHook disappeared,see commit
fce84f76f04957e51f1d92129236733d9bf7d08a
Fixes: QTBUG-98755
Change-Id: Id0600b5682de4bfeaae9ca4e975d454d7ee158ff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 3017f593451470502bccb3273a17c42ac55d6d5d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/image/qicon.cpp | 5 |
1 files 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<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 { |