Bump Qt deprecation level to 6.4

This commit is contained in:
Volker Krause
2023-02-01 17:16:45 +01:00
parent 560d0483ae
commit d34c1668aa
3 changed files with 6 additions and 6 deletions

View File

@ -85,8 +85,8 @@ int main(int argc, char **argv)
if (parser.isSet(ignoreDataCheck)) {
pngfile = fi.filePath();
} else {
int suffixPos = fi.filePath().count() - suffix.count();
pngfile = fi.filePath().replace(suffixPos, suffix.count(), QStringLiteral("png"));
int suffixPos = fi.filePath().size() - suffix.size();
pngfile = fi.filePath().replace(suffixPos, suffix.size(), QStringLiteral("png"));
}
QString pngfilename = QFileInfo(pngfile).fileName();