Cleaning of the code. A plain QIcon() is now returned by the getIcon method.
Additional cleaning