What's the alternative of api 'hasPendingEvents'?
Unsolved
General and Desktop
-
@Zuuka said in What's the alternative of api 'hasPendingEvents'?:
can i query if it is blocked?
Why? As I said: as long as your code is doing something (like a slot being executed) the event loop is blocked (means: it can't process events). There is no need to query anything.
-
Hi,
Out of curiosity, are you using QTest ?
-
@Zuuka said in What's the alternative of api 'hasPendingEvents'?:
hat all events have been processed before continuing with the cleanup.
What exact events?
-
Ok - why are they important? If they are that important then you also have to check for them in the first place. Use an event filter for example.