A nested event loop will order the inversion. (at least on qt4)
Suppose you have the following sequence of events:
enqueued in outer loop: 1,2,3 processing 1 => spawn inner loop enqueue 4 in inner loop processing 4 exit inner loop processing 2
So you see that the processing order: 1,4,2,3.
I speak from experience, and this usually led to a crash in my code.
mhstnsc
source share