fix plasma crash caused by label destruction

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

No files matched your search

-1
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();