code: def remove_resource(self):
          
          self.mark_current_profile_as_pending()
          for item in self.resources_list.selectedItems():
              self.resources_list.takeItem(self.resources_list.row(item))
docs: Remove the currently selected resource.