Use a queue for events
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 25 Sep 2010 15:04:26 +0000 (17:04 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Oct 2010 23:06:31 +0000 (01:06 +0200)
commiteca32e09b23dd261d7eaf11a4843949220b302d4
tree78df2e6d7809aab25aa575beb135e212bf831605
parent80cd03dc284fecbac2b7db1ede215f82023b72d9
Use a queue for events

Using a queue ensures that events will be processed in order, i.e. if processing
an events generates new ones, those won't be handled before the first one is fully done.
We also let Qt process its own QEvents in between, in order to not block things like
network handling.
src/common/eventmanager.cpp
src/common/eventmanager.h