]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/ktreeview.cpp
- Fix crash found while investigating https://bugs.kde.org/show_bug.cgi?id=170927
[dolphin.git] / src / ktreeview.cpp
index 7109e27553a5d94db427ca8c218fd00b34191b57..7c30fad337bbb24c008eb467220b69c017c19910 100644 (file)
@@ -169,5 +169,12 @@ void KTreeView::scrollTo(const QModelIndex& index, ScrollHint hint)
     }
 }
 
+void KTreeView::hideEvent(QHideEvent *event)
+{
+    d->startScrollTimer->stop();
+    d->timeLine->stop();
+    QTreeView::hideEvent(event);
+}
+
 #include "ktreeview.moc"
 #include "ktreeview_p.moc"