fixed crash

This commit is contained in:
Andreas Preikschat 2011-06-21 23:19:29 +02:00
parent 6f88ccb006
commit e268b96351

View File

@ -219,7 +219,7 @@ class ImageManager(QtCore.QObject):
else:
image.priority = ProcessingPriority.Low
self._clean_queue.put_nowait((image.priority, image))
return
return
if image.priority not in [ProcessingPriority.Urgent,
ProcessingPriority.Low]:
self._clean_queue.task_done()