mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
more correct destuction
This commit is contained in:
parent
29d34525a3
commit
4a320bc5d6
@ -186,6 +186,8 @@ void DesktopPanel::reinit()
|
||||
// labels
|
||||
for (int i=0; i<proxyWidgets.count(); i++) {
|
||||
layout->removeItem(proxyWidgets[i]);
|
||||
proxyWidgets[i]->setWidget(0);
|
||||
delete labels[i];
|
||||
delete proxyWidgets[i];
|
||||
}
|
||||
labels.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user