diff options
| author | Felix Ernst <[email protected]> | 2024-02-19 12:32:32 +0100 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2024-02-23 10:19:39 +0000 |
| commit | 84447aab47781e381f49c8a81d9d5195fa0b4da6 (patch) | |
| tree | d9226e81dc8f7fbf8fb185908f9d147f5c1d28c6 /src/kitemviews/kstandarditemlistwidget.h | |
| parent | 94828aa307af32191124d4fb8c0033a365dc3568 (diff) | |
Resolve conflict between activateSoonAnimation and hoverSequenceAnimation
Prior to this commit, the activateSoonAnimation would not play for
folders using previews. That was because the hoverSequences of
folder previews would always take priority over the
activateSoonAnimation.
This commit prioritises the activateSoonAnimation for the quick
moments in which it is active.
Diffstat (limited to 'src/kitemviews/kstandarditemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kstandarditemlistwidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kitemviews/kstandarditemlistwidget.h b/src/kitemviews/kstandarditemlistwidget.h index 5afadd8cd..8143ed181 100644 --- a/src/kitemviews/kstandarditemlistwidget.h +++ b/src/kitemviews/kstandarditemlistwidget.h @@ -245,6 +245,9 @@ private: */ static qreal columnPadding(const KItemListStyleOption &option); + /** @returns whether the usual icon should be shown or not. */ + bool isIconControlledByActivateSoonAnimation() const; + protected: QHash<QByteArray, TextInfo *> m_textInfo; // PlacesItemListWidget needs to access this |
