The context of execution is based not on the thread affinity of the object (which is also living in the main thread so this doesn't change anything but for a moment let's assume it does) containing the called method but on the affinity of the object calling the method. So if you are calling the method from your main window, it will be executed in the context of the thread running your main window (which is the main thread) and your gui will get blocked.
I don't know what your acceptEvent() method does but unless it calls QCoreApplication:ostEvent() you're using a synchronous call which is again done in the context of the calling thread and blocks your gui because it is your gui thread that makes the call.
This will change exactly nothing, unless of course postEvent() is used by acceptEvent().
Bookmarks