Avoid double initialize of platform font database
Since platform font database will be populated in QFontDatabase::load, no need to do it here in QFont::initialize. Change-Id: I1b8c9f6fc9be40e0263ed3951c794141c6297e84 Reviewed-on: http://codereview.qt-project.org/4091 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>bb10
parent
ac75fd5f87
commit
cd781b732e
|
|
@ -46,7 +46,6 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
void QFont::initialize()
|
||||
{
|
||||
QApplicationPrivate::platformIntegration()->fontDatabase()->populateFontDatabase();
|
||||
}
|
||||
|
||||
void QFont::cleanup()
|
||||
|
|
|
|||
Loading…
Reference in New Issue