fix plasma crash caused by label destruction

This commit is contained in:
arcan1s
2014-10-01 02:57:06 +04:00
parent 0ab74b493c
commit 29d34525a3
2 changed files with 1 additions and 3 deletions

View File

@ -187,7 +187,6 @@ void DesktopPanel::reinit()
for (int i=0; i<proxyWidgets.count(); i++) {
layout->removeItem(proxyWidgets[i]);
delete proxyWidgets[i];
delete labels[i];
}
labels.clear();
proxyWidgets.clear();