diff options
| author | Friso Smit <[email protected]> | 2023-02-06 14:17:29 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-02-09 16:28:29 +0000 |
| commit | b168f9a98bbe00643e15a49075ed80ac6c82fa74 (patch) | |
| tree | 0ae31b48a18a010264f26c220888a44429eb1fec /src/views/dolphinview.h | |
| parent | c57c5384fcab92a1ba0d8fd87321ce7cb148ca02 (diff) | |
Fix zooming for high resolution scroll wheels
BUG: 432671
Diffstat (limited to 'src/views/dolphinview.h')
| -rw-r--r-- | src/views/dolphinview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index cadf3e754..fc5fd52ff 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -924,6 +924,10 @@ private: bool m_scrollToCurrentItem; // Used for marking we need to scroll to current item or not QPoint m_restoredContentsPosition; + // Used for tracking the accumulated scroll amount (for zooming with high + // resolution scroll wheels) + int m_controlWheelAccumulatedDelta; + QList<QUrl> m_selectedUrls; // Used for making the view to remember selections after F5 bool m_clearSelectionBeforeSelectingNewItems; bool m_markFirstNewlySelectedItemAsCurrent; |
