mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
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:
parent
e086d709d8
commit
d7321c1d9a
3 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue