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
This commit is contained in:
Peter Penz 2008-02-21 18:45:22 +00:00
parent e086d709d8
commit d7321c1d9a
3 changed files with 0 additions and 3 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;