From 20c568fba330d2f8c5203b8426fd4c08221b40de Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Sat, 25 May 2024 13:20:04 +0200 Subject: [PATCH] Doc/QIconEngine: fix comment about virtual_hook() QIconEngine::scaledPixmap() and isNull() are now virtual functions which can be reimplemented by the icon engines so the comment was out of date. Change-Id: I308446dade1da9edeef5c554db146443660b4761 Reviewed-by: Volker Hilsheimer (cherry picked from commit 3987e938b1004329c6614adcf3c3d2777b8b1cea) Reviewed-by: Qt Cherry-pick Bot --- .../doc/src/includes/qiconengine-virtualhookhelper.qdocinc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/doc/src/includes/qiconengine-virtualhookhelper.qdocinc b/src/gui/doc/src/includes/qiconengine-virtualhookhelper.qdocinc index b17d2bd66f7..8b7e333df82 100644 --- a/src/gui/doc/src/includes/qiconengine-virtualhookhelper.qdocinc +++ b/src/gui/doc/src/includes/qiconengine-virtualhookhelper.qdocinc @@ -1,3 +1,3 @@ -\note This is a helper method and the actual work is done by the -virtual_hook() method, hence this method depends on icon engine support +\note If the icon engine does not reimplement this function, the actual work is +done by the virtual_hook() method, hence this method depends on icon engine support and may not work with all icon engines.