234 |
234 |
235 dlg = WebIconDialog(self.__iconsDB, parent=parent) |
235 dlg = WebIconDialog(self.__iconsDB, parent=parent) |
236 if dlg.exec() == QDialog.DialogCode.Accepted: |
236 if dlg.exec() == QDialog.DialogCode.Accepted: |
237 changed = False |
237 changed = False |
238 urls = dlg.getUrls() |
238 urls = dlg.getUrls() |
239 for url in list(self.__iconsDB.keys())[:]: |
239 for url in list(self.__iconsDB): |
240 if url not in urls: |
240 if url not in urls: |
241 del self.__iconsDB[url] |
241 del self.__iconsDB[url] |
242 changed = True |
242 changed = True |
243 if changed: |
243 if changed: |
244 self.changed.emit() |
244 self.changed.emit() |