From c1b260524381c4ac19d8055a4f716723ab7fb649 Mon Sep 17 00:00:00 2001 From: Amol Godbole Date: Thu, 3 Aug 2023 10:44:20 +0000 Subject: [PATCH] DolphinView: initialize m_controlWheelAccumulatedDelta Ctrl + scroll wheel zoom was not working as designed after Dolphin is launched. Initialize m_controlWheelAccumulatedDelta in DolphinView's constructor. BUG: 469354 --- src/views/dolphinview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index fba7e6419..13c8b4df2 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -92,6 +92,7 @@ DolphinView::DolphinView(const QUrl &url, QWidget *parent) , m_currentItemUrl() , m_scrollToCurrentItem(false) , m_restoredContentsPosition() + , m_controlWheelAccumulatedDelta(0) , m_selectedUrls() , m_clearSelectionBeforeSelectingNewItems(false) , m_markFirstNewlySelectedItemAsCurrent(false) -- 2.47.3