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

@ -292,8 +292,7 @@ Additional information
TODO (wish list)
----------------
* 3rdpatry modules support (C++, Python and Shell modules in the plan)
* graphical bars support
See [milestones](https://github.com/arcan1s/awesome-widgets/milestones) for more details.
Links
-----

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