QFontDatabase: Make assert about failed delayed font population more verbose.
Task-number: QTBUG-43774 Change-Id: Ie55de75e31e1e569f4b4e336900a8f96f7c1b9c0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
This commit is contained in:
parent
1755038134
commit
fad17cf79c
@ -382,7 +382,7 @@ void QtFontFamily::ensurePopulated()
|
||||
return;
|
||||
|
||||
QGuiApplicationPrivate::platformIntegration()->fontDatabase()->populateFamily(name);
|
||||
Q_ASSERT(populated);
|
||||
Q_ASSERT_X(populated, Q_FUNC_INFO, qPrintable(name));
|
||||
}
|
||||
|
||||
class QFontDatabasePrivate
|
||||
|
Loading…
x
Reference in New Issue
Block a user