From: Amol Godbole Date: Thu, 3 Aug 2023 10:44:20 +0000 (+0000) Subject: DolphinView: initialize m_controlWheelAccumulatedDelta X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c1b260524381c4ac19d8055a4f716723ab7fb649 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 --- 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)