┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-02-02 15:10:45 +0100
committerPeter Penz <[email protected]>2012-02-02 16:03:13 +0100
commit4de262196a47f6baf64bdb054f02c52aae979e8b (patch)
tree5c781dd0163abd36b034a3d00ae5f0e1397e3b78 /src/views/dolphinview.cpp
parent110dd6de3cadefddf3a52088ab9eea13db9135b6 (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.cpp6
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);