void grabUVContext::toolOffCleanup() { QCoreApplication *app = qApp; app->removeEventFilter(this); MPxTexContext::toolOffCleanup(); }