Don't crash on exit.
BUG:284989 REVIEW:103202
This commit is contained in:
parent
2bcc53419e
commit
7f0e9fb3b2
@ -67,10 +67,14 @@ public:
|
|||||||
|
|
||||||
~ContainmentPrivate()
|
~ContainmentPrivate()
|
||||||
{
|
{
|
||||||
qDeleteAll(applets);
|
// qDeleteAll is broken with Qt4.8, delete it by hand
|
||||||
|
while (!applets.isEmpty()) {
|
||||||
|
delete applets.first();
|
||||||
|
}
|
||||||
applets.clear();
|
applets.clear();
|
||||||
|
|
||||||
qDeleteAll(dropMenus);
|
qDeleteAll(dropMenus);
|
||||||
|
dropMenus.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void createToolBox();
|
void createToolBox();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user