From 4de262196a47f6baf64bdb054f02c52aae979e8b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 2 Feb 2012 15:10:45 +0100 Subject: 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 --- src/views/dolphinview.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/views/dolphinview.cpp') 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); -- cgit v1.3