1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

Fix endsWith() call

This commit is contained in:
Andrei Kortunov 2019-02-17 11:44:45 +04:00
parent ad9412a117
commit 80c62a4fe1

View File

@ -876,7 +876,7 @@ QStringList Wizard::UnshieldWorker::findFiles(const QString &fileName, const QSt
result.append(info.absoluteFilePath()); result.append(info.absoluteFilePath());
break; break;
case Qt::MatchEndsWith: case Qt::MatchEndsWith:
if (info.fileName().endsWith(fileName), Qt::CaseInsensitive) if (info.fileName().endsWith(fileName, Qt::CaseInsensitive))
result.append(info.absoluteFilePath()); result.append(info.absoluteFilePath());
break; break;
} }