Commit af08802e authored by Elvis Angelaccio's avatar Elvis Angelaccio

GIT_SILENT Use static QFileInfo::exists()

parent 40e83430
......@@ -1296,7 +1296,7 @@ QString CliInterface::multiVolumeName() const
QString newSuffix = multiSuffix;
newSuffix.replace(QStringLiteral("$Suffix"), oldSuffix);
name = filename().remove(oldSuffix).append(newSuffix);
if (QFileInfo(name).exists()) {
if (QFileInfo::exists(name)) {
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment