Commit f583af63 authored by David Redondo's avatar David Redondo 🏎
Browse files

Really fix build

QLatin1String::arg was only added in Qt 5.14
parent cd677a64
...@@ -211,7 +211,7 @@ QString ExportManager::formatFilename(const QString &nameTemplate) ...@@ -211,7 +211,7 @@ QString ExportManager::formatFilename(const QString &nameTemplate)
paddedLength = paddingMatch.captured(1).toInt(); paddedLength = paddingMatch.captured(1).toInt();
} }
QString escapedMatch = QRegularExpression::escape(paddingMatch.captured()); QString escapedMatch = QRegularExpression::escape(paddingMatch.captured());
resultCopy.replace(escapedMatch, QLatin1String("(\\d{%1,})").arg(QString::number(paddedLength))); resultCopy.replace(escapedMatch, QStringLiteral("(\\d{%1,})").arg(QString::number(paddedLength)));
} }
// search save directory for files // search save directory for files
QDir dir(baseDir); QDir dir(baseDir);
......
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