diff options
author | Eirik Aavitsland <[email protected]> | 2025-06-02 16:51:00 +0200 |
---|---|---|
committer | Eirik Aavitsland <[email protected]> | 2025-06-04 09:18:44 +0200 |
commit | 472306523a9706ccf363c349edecccaadacfe5b1 (patch) | |
tree | e24a38bb2484287c50956fb8bdc34d71d38aaf93 | |
parent | 5ee2737d916af7e444cae88209d9f0bd4d29e7ea (diff) |
Adding in the wrong order yields a QIcon that does not provide the
expected or desired behavior.
Fixes: QTBUG-135652
Pick-to: 6.10 6.9 6.8
Change-Id: Ie1f6e50ee82ddaae8857b076c383ede20ab872df
Reviewed-by: Christian Ehrlicher <[email protected]>
-rw-r--r-- | src/gui/image/qicon.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/image/qicon.cpp b/src/gui/image/qicon.cpp index 1ba7ddb9d34..1c4b2f205b7 100644 --- a/src/gui/image/qicon.cpp +++ b/src/gui/image/qicon.cpp @@ -609,6 +609,9 @@ QFactoryLoader *qt_iconEngineFactoryLoader() QImageWriter::supportedImageFormats() functions to retrieve a complete list of the supported file formats. + \note If using an SVG image file, make sure to add it before any non-SVG files, + so that the correct \l{Icon Engines}{icon engine} gets selected. + \section1 Creating an icon from a theme or icon library The most convenient way to construct an icon is by using the |