last code patch from gta5sync

This commit is contained in:
Syping 2017-10-21 05:59:10 +02:00
parent 15255874ff
commit f62b1b08c0
22 changed files with 208 additions and 201 deletions

View file

@ -1137,7 +1137,7 @@ bool SnapmaticPicture::verifyTitle(const QString &title)
// VERIFY TITLE FOR BE A VALID SNAPMATIC TITLE
if (title.length() <= titlStreamCharacterMax)
{
foreach(const QChar &titleChar, title)
for (QChar titleChar : title)
{
if (!verifyTitleChar(titleChar)) return false;
}