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
Please register or sign in to comment