From a49109b09a191b73f3fda8b65c29e9c6c9bd33d8 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Sat, 15 Oct 2011 20:08:42 +0200 Subject: Fix regression concerning Control+mouse wheel zooming Commit 9311f4bc97ec7000be46b8eec242a8 accidentally removed DolphinView::wheelEvent(), which is responsible for the handling of Control+mouse wheel events. These should change the zoom level. --- 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 c3981bef4..770bbde72 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -553,6 +553,10 @@ signals: */ void writeStateChanged(bool isFolderWritable); +protected: + /** Changes the zoom level if Control is pressed during a wheel event. */ + virtual void wheelEvent(QWheelEvent* event); + private slots: /** * Marks the view as active (DolphinView:isActive() will return true) -- cgit v1.3