1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-17 19:37:09 +02:00

Silence some debug messages due to Qt5 slowness

This commit is contained in:
Uwe L. Korn
2013-09-02 15:58:44 +02:00
parent ab499d304a
commit 9cb883f6a2

View File

@@ -187,8 +187,11 @@ TomahawkApp::init()
setFont( f );
#endif
#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() );
#endif