Commit f02884d3 authored by Ben Cooksley's avatar Ben Cooksley
Browse files

Don't crash on exit.

BUG:284989
REVIEW:103202
parent 5aad39db
......@@ -67,10 +67,14 @@ public:
~ContainmentPrivate()
{
qDeleteAll(applets);
// qDeleteAll is broken with Qt4.8, delete it by hand
while (!applets.isEmpty()) {
delete applets.first();
}
applets.clear();
qDeleteAll(dropMenus);
dropMenus.clear();
}
void createToolBox();
......
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