(self, item)
Change the stored icon data if the icon has been changed.
Change the stored icon data if the icon has been changed.
Change the stored icon data if the icon has been changed .
def _itemIconUpdated(self, item):
        """Change the stored icon data if the icon has been changed."""
        self._itemList[item]['original_icon'] = item.icon()
        if self._itemList[item]['original_icon']:
            self._itemList[item]['original_icon_size'] = max(self._itemList[item]['original_icon'].availableSizes())
        else:
            self._itemList[item]['original_icon_size'] = None
        self._resizeImages(item)
def _itemIconUpdated ( self , item ) : self . _itemList [ item ] [ 'original_icon' ] = item . icon ( ) if self . _itemList [ item ] [ 'original_icon' ] : self . _itemList [ item ] [ 'original_icon_size' ] = max ( self . _itemList [ item ] [ 'original_icon' ] . availableSizes ( ) ) else : self . _itemList [ item ] [ 'original_icon_size' ] = None self . _resizeImages ( item )