diff options
| author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-02-16 14:39:06 +0100 |
|---|---|---|
| committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-02-19 15:23:33 +0100 |
| commit | bb110cee5dbcce58c44e9a59b47fd0bbf6aaddaa (patch) | |
| tree | d31a710fedf68e0eb34406bd56330eda9da6e6ae /src/gui/doc/snippets/code | |
| parent | 24b07b2b2d367c61b911c8f3a72f7209ef7e00d2 (diff) | |
Add scaledPixmap() override
QAbstractFileIconEngine implements the QIconEngine interface
and creates a new interface where subclasses override the
filePixmap() function.
QIconEngine subclasses must now also override scaledPixmap();
add implementation which forwards to filePixmap().
(The intermediate implementation in QPixmapIconEngine is not
used by QAbstractFileIconEngine.)
Pick-to: 6.1
Task-number: QTBUG-91104
Change-Id: I229e3a003ad0c3fff768eac7e75c59fe7145fcaa
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
