From b168f9a98bbe00643e15a49075ed80ac6c82fa74 Mon Sep 17 00:00:00 2001 From: Friso Smit Date: Mon, 6 Feb 2023 14:17:29 +0100 Subject: Fix zooming for high resolution scroll wheels BUG: 432671 --- src/views/dolphinview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/views/dolphinview.h') 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 m_selectedUrls; // Used for making the view to remember selections after F5 bool m_clearSelectionBeforeSelectingNewItems; bool m_markFirstNewlySelectedItemAsCurrent; -- cgit v1.3.1