How to reproduce:
- add 2 images
- before any of them finishes add 2 more images
- some of them will never finish
Cli always exits nicely (without ugly sleep)
- (The imghdr module is in the standard library,
so this creates no extra dependency.)
- store filenames in unicode internally
- got rid of QString and QStringList
- got rid of unicodize
- fix crash if directory didn't end with slash
- added time.sleep(0.1) before quit inside Worker.run
to avoid a segfault when no images were processed
(For example an empty directory was passed to trimage)
(This segfault was present even before I touched anything)
(A better "fix" would be not even initializing the GUI when
there is no need)