mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
ElementsPanel: removed the old, error-prone, thread-based implementation of ElementsPanel::reloadCollections().
Reverted rev2011 to prevent memory leak. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2013 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -89,7 +89,7 @@ void FileElementsCollection::setFilePath(const QString &path) {
|
||||
Supprime le contenu en memoire de cette collection
|
||||
*/
|
||||
void FileElementsCollection::deleteContent() {
|
||||
if(!root) delete root;
|
||||
delete root;
|
||||
root = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user