mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-22 19:00:04 +08:00
Qt 5.15.2: fixed QTBUG-71737 - startup lag on Windows
This commit is contained in:
parent
1674e67f32
commit
3b34216a2a
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user