mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2025-01-23 04:14:37 +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)
|
void QFontEngineMulti::ensureEngineAt(int at)
|
||||||
{
|
{
|
||||||
if (!m_fallbackFamiliesQueried)
|
if (!m_fallbackFamiliesQueried && at > 0)
|
||||||
ensureFallbackFamiliesQueried();
|
ensureFallbackFamiliesQueried();
|
||||||
Q_ASSERT(at < m_engines.size());
|
Q_ASSERT(at < m_engines.size());
|
||||||
if (!m_engines.at(at)) {
|
if (!m_engines.at(at)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user