Don't get the QStringList size each time in the bucle.