removed apparently unnecessary loop

This commit is contained in:
Jonathan Warren 2013-07-05 16:43:40 -04:00
parent 1f8eee4119
commit 39f4f85b11

View File

@ -2940,16 +2940,12 @@ class UISignaler(Thread,QThread):
try:
import gevent
except ImportError as ex:
print "cannot find gevent"
gevent = None
else:
def mainloop(app):
while True:
app.processEvents()
while app.hasPendingEvents():
app.processEvents()
gevent.sleep(0.01)
gevent.sleep(0.01) # don't appear to get here but cooperate again
def testprint():
#print 'this is running'
gevent.spawn_later(1, testprint)