diff options
| author | Peter Penz <[email protected]> | 2008-04-16 20:26:21 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-04-16 20:26:21 +0000 |
| commit | eb36093c2c5a8782c7c7f6be92881c108c30a5b1 (patch) | |
| tree | 12e4fe072f7b5388f5e4c357a726061bd82734de /src/dolphiniconsview.cpp | |
| parent | 12c1feb0c5ac8d402ee03dc9da39f826ae04ce0b (diff) | |
if the mouse is above an item and moved very fast outside the widget, no viewportEntered() signal might be emitted although the mouse has been moved above the viewport
svn path=/trunk/KDE/kdebase/apps/; revision=797742
Diffstat (limited to 'src/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 959f152f0..7b9ddd6ac 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -276,6 +276,15 @@ void DolphinIconsView::showEvent(QShowEvent* event) KCategorizedView::showEvent(event); } +void DolphinIconsView::leaveEvent(QEvent* event) +{ + KCategorizedView::leaveEvent(event); + // if the mouse is above an item and moved very fast outside the widget, + // no viewportEntered() signal might be emitted although the mouse has been moved + // above the viewport + m_controller->emitViewportEntered(); +} + void DolphinIconsView::slotShowPreviewChanged() { const DolphinView* view = m_controller->dolphinView(); |
