ergstxbrvyerav
ergstxbrvyerav

Reputation: 1

Qt, exclude an Event from qApp->processEvents()

I have a loop that performs heavy IO so I call qApp->processEvents() from time to time to keep the GUI reactive. On Linux this leads to a serious bug because an Event is called ahead of schedule.

Is there a possiblity to exclude the Event from qApp->processEvents()?

Upvotes: 0

Views: 1195

Answers (1)

Harald Scheirich
Harald Scheirich

Reputation: 9764

I don't know if you can exclude it from processEvents but by installing an event filter you should be able to prevent the event from being handled.

Upvotes: 1

Related Questions