From: Peter Penz Date: Thu, 21 Feb 2008 18:45:22 +0000 (+0000) Subject: Fixed wrong comments. Discussed with David Faure: installing an event filter works... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d7321c1d9ad3429e4d60206ac51d46305736c2bb Fixed wrong comments. Discussed with David Faure: installing an event filter works for the icons-view and details-view, but not for the column-view which uses QListView child widgets internally... We decided to leave it as it is. svn path=/trunk/KDE/kdebase/apps/; revision=777838 --- diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index b1050afda..bcb98e0ad 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -373,7 +373,6 @@ void DolphinColumnWidget::contextMenuEvent(QContextMenuEvent* event) void DolphinColumnWidget::wheelEvent(QWheelEvent* event) { // let Ctrl+wheel events propagate to the DolphinView for icon zooming - // (installing an event filter does not work, as the wheel event is handled first) if (event->modifiers() & Qt::ControlModifier) { event->ignore(); return; diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index a725c06f3..678343503 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -386,7 +386,6 @@ void DolphinDetailsView::resizeEvent(QResizeEvent* event) void DolphinDetailsView::wheelEvent(QWheelEvent* event) { // let Ctrl+wheel events propagate to the DolphinView for icon zooming - // (installing an event filter does not work, as the wheel event is handled first) if (event->modifiers() & Qt::ControlModifier) { event->ignore(); return; diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 9f3114182..af7f026e1 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -297,7 +297,6 @@ void DolphinIconsView::keyPressEvent(QKeyEvent* event) void DolphinIconsView::wheelEvent(QWheelEvent* event) { // let Ctrl+wheel events propagate to the DolphinView for icon zooming - // (installing an event filter does not work, as the wheel event is handled first) if (event->modifiers() & Qt::ControlModifier) { event->ignore(); return;