Commit 93118c5d authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Only warn once per missing font on document opening

parent a79e1240
Pipeline #174380 passed with stage
in 9 minutes and 16 seconds
......@@ -1595,7 +1595,7 @@ void DocumentChecker::checkMissingImagesAndFonts(const QStringList &images, cons
}
}
for (const QString &fontelement : fonts) {
if (m_safeFonts.contains(fontelement)) {
if (m_safeFonts.contains(fontelement) || m_missingFonts.contains(fontelement)) {
continue;
}
QFont f(fontelement);
......
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