110 if itm: |
110 if itm: |
111 parent = itm.parent() |
111 parent = itm.parent() |
112 parent.removeChild(itm) |
112 parent.removeChild(itm) |
113 del itm |
113 del itm |
114 if parent.childCount() == 0: |
114 if parent.childCount() == 0: |
115 top = self.takeTopLevelItem(self.indexOfTopLevelItem(parent)) |
115 top = self.takeTopLevelItem(self.indexOfTopLevelItem(parent)) # __IGNORE_WARNING__ |
116 del top |
116 del top |
117 |
117 |
118 def __projectDataChanged(self, project): |
118 def __projectDataChanged(self, project): |
119 """ |
119 """ |
120 Private slot to handle the change of a project of the multi project. |
120 Private slot to handle the change of a project of the multi project. |