Commit 88f7be63 authored by Matěj Laitl's avatar Matěj Laitl
Browse files

Fix another crash on exit with Qt 4.8 wrt qDeleteAll()

BUG: 285951
parent 1140d305
......@@ -160,7 +160,9 @@ VideoclipApplet::init()
VideoclipApplet::~VideoclipApplet()
{
delete m_videoWidget.data();
qDeleteAll( m_videoItemButtons );
// Hmm, qDeleteAll from Qt 4.8 crashes with our SmartPointerList, do it manually. Bug 285951
while (!m_videoItemButtons.isEmpty() )
delete m_videoItemButtons.takeFirst();
}
void
......
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