I'm not really comfortable with that, the point of this is to handle an error in the QApplication constructor. It may be that the constructor sets the arguments before trying to initialize GUI capabilities, but even so if we take advantage of that we are making an assumption about the internals of the constructor that is not guaranteed by the interface.