diff options
| author | Peter Penz <[email protected]> | 2008-02-21 14:01:40 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-02-21 14:01:40 +0000 |
| commit | 518372394da1f58da8e69acbb981a97db375e739 (patch) | |
| tree | 3f0b0fb6449a23ed8369a84bdb4c5485e027c281 /src/dolphiniconsview.cpp | |
| parent | b34ed68daf1923eacc9330ec49088fc24a56a415 (diff) | |
* Install an event-filter for the view implementations. Whenever a view implementation gets the focus, it should request it's activation.
* Let the metadata widget only get the focus by clicking.
* Tried to install a similar filter for the wheel-event code duplication in the view-implementations, but the event filter is invoked _after_ the view implementation gets the wheel event... -> added a note the the 3 implementations as hint.
svn path=/trunk/KDE/kdebase/apps/; revision=777757
Diffstat (limited to 'src/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index bb3d242b9..9f3114182 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -297,7 +297,8 @@ void DolphinIconsView::keyPressEvent(QKeyEvent* event) void DolphinIconsView::wheelEvent(QWheelEvent* event) { // let Ctrl+wheel events propagate to the DolphinView for icon zooming - if ((event->modifiers() & Qt::ControlModifier) == Qt::ControlModifier) { + // (installing an event filter does not work, as the wheel event is handled first) + if (event->modifiers() & Qt::ControlModifier) { event->ignore(); return; } |
