Overhaul GrepJob state transitions; showErrorMessage() signal&slot timeout fixes
Testing done:
- Find/Replace in Files functionality still works correctly.
- test_findreplace, test_uicontroller, test_checkerstatus still pass.
See the commit messages for details.
History
This merge request was inspired by this discussion and was intended to make porting toQThread::requestInterruption()
and QThread::isInterruptionRequested()
easier. Now there is no obstacle to this porting, but I am not sure it's worthwhile, because not much custom code would be removed and QThread's cancellation is somewhat less efficient.