1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 23:57:34 +02:00

Font loading in Qt5 is fixed since a some time

This commit is contained in:
Uwe L. Korn
2014-08-23 12:46:06 +01:00
parent 1e8ff5ceea
commit e06571c3be

View File

@@ -192,11 +192,9 @@ TomahawkApp::init()
#endif
setFont( f );
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
tDebug() << "Default font:" << f.pixelSize() << f.pointSize() << f.pointSizeF() << f.family();
// The following line blocks for 15s on Qt 5.1.0
tDebug() << "Font height:" << QFontMetrics( f ).height();
#endif
TomahawkUtils::setDefaultFontSize( f.pointSize() );
TomahawkUtils::setHeadless( m_headless );