diff --git a/5.15.2/qtbase/src/gui/text/qfontengine.cpp b/5.15.2/qtbase/src/gui/text/qfontengine.cpp index f1fd755..d9c0239 100644 --- a/5.15.2/qtbase/src/gui/text/qfontengine.cpp +++ b/5.15.2/qtbase/src/gui/text/qfontengine.cpp @@ -1815,7 +1815,7 @@ void QFontEngineMulti::setFallbackFamiliesList(const QStringList &fallbackFamili void QFontEngineMulti::ensureEngineAt(int at) { - if (!m_fallbackFamiliesQueried) + if (!m_fallbackFamiliesQueried && at > 0) ensureFallbackFamiliesQueried(); Q_ASSERT(at < m_engines.size()); if (!m_engines.at(at)) {