Sorry for misleading, but as QStyle::standardIcon() says:
Warning: Because of binary compatibility constraints, this function is not virtual. If you want to provide your own icons in a QStyle subclass, reimplement the standardIconImplementation() slot in your subclass instead. The standardIcon() function will dynamically detect the slot and call it.
So, switch to QStyle::standardIconImplementation()...