Comment to 'Call to a member function getIcon()'