diff options
| author | Piruzzolo Piruzzolo <[email protected]> | 2023-11-13 10:09:57 +0000 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2023-11-13 10:09:57 +0000 |
| commit | 384e4c9cced91b28674328f621d3b66ee860441f (patch) | |
| tree | c45d7d1cce2b2b9b68be36a0334f7459aaea2f94 /src/kitemviews/kitemlistwidget.h | |
| parent | 045fd910116ff45a5b79f10711de762216224b36 (diff) | |
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.
Diffstat (limited to 'src/kitemviews/kitemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kitemlistwidget.h | 2 |
1 files changed, 0 insertions, 2 deletions
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; |
