Avoid using QString::split
We are only interested in the first element of the splitted string, but split will compute all of them. This has some significant performance impact. Instead use indexOf+left to get the first element
We are only interested in the first element of the splitted string, but split will compute all of them. This has some significant performance impact. Instead use indexOf+left to get the first element