┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinfileitemlistwidget.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2025-01-14 18:52:36 +0100
committerMéven Car <[email protected]>2025-01-17 11:07:40 +0100
commit961e6270e4401a6c7512df3a2e3efd09a25df962 (patch)
treee282410c9546d0b636ca156848f6b75da722da61 /src/views/dolphinfileitemlistwidget.h
parent9a44aad838e111175b57a7ff14a9f6d2f44c5b65 (diff)
Refactor Overlay Handling
Now all overlays icons in kitemviews are added in KStandardItemListWidget::updatePixmapCache. data[iconOverlays] now contains icon names. DolphinFileItemListWidget::refreshCache is the sole responsible of setting the overlays either coming from KFileItemModelRolesUpdater or KVersionControlPlugin. This garantees consistency in rendering. BUG: 497372
Diffstat (limited to 'src/views/dolphinfileitemlistwidget.h')
-rw-r--r--src/views/dolphinfileitemlistwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinfileitemlistwidget.h b/src/views/dolphinfileitemlistwidget.h
index 92fc66fcc..af15074d5 100644
--- a/src/views/dolphinfileitemlistwidget.h
+++ b/src/views/dolphinfileitemlistwidget.h
@@ -29,7 +29,7 @@ protected:
void refreshCache() override;
private:
- QPixmap overlayForState(KVersionControlPlugin::ItemVersion version, int size) const;
+ QString overlayForState(KVersionControlPlugin::ItemVersion version) const;
};
#endif