Permalink
Browse files

considers gui adding delayed events

  • Loading branch information...
1 parent 0f4daa9 commit 0a322cdf125b6b7488a5ac66d6b45f7cd6f91619 @ghtdak committed Mar 12, 2008
Showing with 3 additions and 2 deletions.
  1. +3 −2 qt4reactor.py
View
@@ -224,8 +224,9 @@ def reactorInvokePrivate(self):
t = self.timeout()
if t is None: t=0.1
else: t = min(t,0.1)
- self.qApp.processEvents()
- self._timer.start(t*1010)
+ self._timer.setInterval(t*1010)
+ self.qApp.processEvents() # could change interval
+ self._timer.start()
def doIteration(self):
assert False, "doiteration is invalid call"

0 comments on commit 0a322cd

Please sign in to comment.