diff options
| author | Amol Godbole <[email protected]> | 2023-08-03 10:44:20 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-08-03 10:44:20 +0000 |
| commit | c1b260524381c4ac19d8055a4f716723ab7fb649 (patch) | |
| tree | b3d17aeebd405c95063ce22c03a8835864c2330c /src/views | |
| parent | 58ddbda561a48833cfe627e0f212b51b3e66ecdf (diff) | |
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
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
