The same reason as for replacing with QCoreApplication::instance() above (does not apply here). BTW, also see the existing code couple of lines below.