Commit 3134b410 authored by David Faure's avatar David Faure
Browse files

Fix KDirOperator crash with libc++, due to unique_ptr difference

Same reasoning as the previous commit
parent a8a2c080
......@@ -214,6 +214,12 @@ public:
if (m_itemView) {
// fix libc++ crash: its unique_ptr implementation has already set 'd' to null
// and the event filter will get a QEvent::Leave event if we don't remove it.
delete m_itemView;
m_itemView = nullptr;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment