From 8f0baa45053312914812cc908e94138bc23fe44f Mon Sep 17 00:00:00 2001 From: Akseli Lahtinen Date: Fri, 29 May 2026 13:25:07 +0300 Subject: KItemListWidget: Add pressedChanged When items were pressed, we never called the updateAdditionalInfoTextColor, which caused some of the text colors get out of sync. This was especially noticeable in details view when using an accent color that makes the font color change to preserve readability. BUG: 508329 --- src/kitemviews/kitemlistwidget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kitemviews/kitemlistwidget.h') diff --git a/src/kitemviews/kitemlistwidget.h b/src/kitemviews/kitemlistwidget.h index b87a3b34e..100c13466 100644 --- a/src/kitemviews/kitemlistwidget.h +++ b/src/kitemviews/kitemlistwidget.h @@ -214,6 +214,7 @@ protected: virtual void currentChanged(bool current); virtual void selectedChanged(bool selected); virtual void hoveredChanged(bool hovered); + virtual void pressedChanged(bool pressed); virtual void alternateBackgroundChanged(bool enabled); virtual void siblingsInformationChanged(const QBitArray ¤t, const QBitArray &previous); virtual void editedRoleChanged(const QByteArray ¤t, const QByteArray &previous); -- cgit v1.3.1