From 384e4c9cced91b28674328f621d3b66ee860441f Mon Sep 17 00:00:00 2001 From: Piruzzolo Piruzzolo Date: Mon, 13 Nov 2023 10:09:57 +0000 Subject: Remove hover fadein/fadeout animation for KItemListWidget Removes hover fade animations for the file item. Hovering is more effective when it provides instant feedback. Over the years, we have moved in the direction of removing animations entirely from our hover-based list and grid views to alleviate a perceived sluggishness. --- src/kitemviews/kitemlistwidget.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/kitemviews/kitemlistwidget.h') diff --git a/src/kitemviews/kitemlistwidget.h b/src/kitemviews/kitemlistwidget.h index 4634ecc0d..9f99b9d95 100644 --- a/src/kitemviews/kitemlistwidget.h +++ b/src/kitemviews/kitemlistwidget.h @@ -235,7 +235,6 @@ protected: const KItemListWidgetInformant *informant() const; private Q_SLOTS: - void slotHoverAnimationFinished(); void slotHoverSequenceTimerTimeout(); private: @@ -263,7 +262,6 @@ private: qreal m_hoverOpacity; mutable QPixmap *m_hoverCache; - QPropertyAnimation *m_hoverAnimation; int m_hoverSequenceIndex; QTimer m_hoverSequenceTimer; -- cgit v1.3.1