diff options
| author | Méven Car <[email protected]> | 2025-01-15 09:57:37 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-01-15 09:57:37 +0100 |
| commit | 7f12389a9553fab558e09e8845aebb26e8a7d9eb (patch) | |
| tree | b3380e668a9a92e59a084a9f2cd2ebcea19b25ee /src/panels | |
| parent | f4244667285b8d8b602067f9735791316ce8e2fb (diff) | |
Clean stop-gap porting ifdef for KICONTHEMES_VERSION
That were introduced in:
a55c467fbb31d822d89722812388425327830377
38ab14c87a945153e683657483fa4bcf44d6b0fb
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/information/informationpanelcontent.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index 78900ab8a..b112b2caf 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -413,15 +413,8 @@ void InformationPanelContent::markOutdatedPreview() // use it until the preview is done showIcon(m_item); } else { -#if KICONTHEMES_VERSION >= QT_VERSION_CHECK(6, 5, 0) QPixmap disabledPixmap = m_preview->pixmap(); KIconEffect::toDisabled(disabledPixmap); -#else - QImage img = m_preview->pixmap().toImage(); - KIconEffect::toGray(img, 1); - KIconEffect::semiTransparent(img); - QPixmap disabledPixmap = QPixmap::fromImage(img); -#endif m_preview->setPixmap(disabledPixmap); } } |
