def _update_status(self, paired):
    if hasattr(self, 'button'):
        button = self.button
        icon_name = (button.icon_paired if paired else button.icon_unpaired)
        button.setIcon(read_QIcon(icon_name))
def _update_status(self, paired):
    if hasattr(self, 'button'):
        button = self.button
        icon_name = (button.icon_paired if paired else button.icon_unpaired)
        button.setIcon(read_QIcon(icon_name))