diff options
| author | Méven Car <[email protected]> | 2025-03-01 11:31:50 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-03-09 10:44:33 +0100 |
| commit | 295b0a88a4130e7cc1438c390f48019d6c25a5b4 (patch) | |
| tree | b1320032969d3aa42ae91f8bd2fee6d5c855fb1b /src/kitemviews/kstandarditemlistwidget.h | |
| parent | 5b666adc57a65f7836b8c931148ec4762406c6cf (diff) | |
kstandarditemlistwidget: render overlays in paint
This allows to keep the original pixmap in m_pixmap when resizing so it can have nice rendering when being resized and simplifies implementation
Diffstat (limited to 'src/kitemviews/kstandarditemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kstandarditemlistwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kstandarditemlistwidget.h b/src/kitemviews/kstandarditemlistwidget.h index 3e542b4c5..18f86dbcb 100644 --- a/src/kitemviews/kstandarditemlistwidget.h +++ b/src/kitemviews/kstandarditemlistwidget.h @@ -237,7 +237,7 @@ private: */ void closeRoleEditor(); - QPixmap pixmapForIcon(const QString &name, const QHash<Qt::Corner, QString> &overlays, const QSize &size, QIcon::Mode mode) const; + QPixmap pixmapForIcon(const QString &name, const QSize &size, QIcon::Mode mode) const; /** * @return Preferred size of the rating-image based on the given |
