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