diff options
| author | Peter Penz <[email protected]> | 2012-02-02 15:10:45 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-02 16:02:29 +0100 |
| commit | 9ef4b489c043a1bdfdb2931959f58e366862fe35 (patch) | |
| tree | ad1782a1e4966ebc4ef95fb167b7ca92421708cf /src/views/dolphinview.cpp | |
| parent | def780c672af2b90e8face3720e1567432b32b8d (diff) | |
Fix crash when opening a tab during a tooltip is shown
Thanks a lot to Mathias Tillman for finding a 100 % reliable way
how to reproduce the issue and for the initial patch!
BUG: 278302
FIXED-IN: 4.8.1
Diffstat (limited to 'src/views/dolphinview.cpp')
| -rw-r--r-- | src/views/dolphinview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 661ce101b..16163c8e9 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -694,6 +694,12 @@ void DolphinView::wheelEvent(QWheelEvent* event) } } +void DolphinView::hideEvent(QHideEvent* event) +{ + hideToolTip(); + QWidget::hideEvent(event); +} + void DolphinView::activate() { setActive(true); |
