Don't crash on exit.
BUG:284989 REVIEW:103202
This commit is contained in:
parent
2bcc53419e
commit
7f0e9fb3b2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user