fix: some clazy checks

This commit is contained in:
Gary Wang
2021-01-10 14:57:01 +08:00
parent 4d8d98b2ff
commit 6d8f353602
6 changed files with 99 additions and 99 deletions

View File

@ -36,7 +36,7 @@ int main(int argc, char *argv[])
QStringList urlStrList = parser.positionalArguments();
QList<QUrl> urlList;
for (const QString & str : urlStrList) {
for (const QString & str : qAsConst(urlStrList)) {
QUrl url = QUrl::fromLocalFile(str);
if (url.isValid()) {
urlList.append(url);