You were not to call QCoreApplication::notify() but to reimplement it...