KListOpenFilesJob: minor cleanup
Make a QRegularExpression object static Instead of recreating/parsing it every time.
- Split a lambda to a static method
- Move the code around to make it more readable
- Define large-ish methods out-of-line in the private class too
- Drop a method and return d->foo directly
Make a var const.