1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

* One debug line like this is enough.

This commit is contained in:
Christian Muehlhaeuser 2014-08-23 13:55:25 +02:00
parent e06571c3be
commit b3882d8035

View File

@ -190,11 +190,9 @@ TomahawkApp::init()
#else
f.setPointSize( f.pointSize() - 2 );
#endif
setFont( f );
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();
setFont( f );
tDebug() << "Default font:" << f.pixelSize() << f.pointSizeF() << f.family() << QFontMetrics( f ).height();
TomahawkUtils::setDefaultFontSize( f.pointSize() );
TomahawkUtils::setHeadless( m_headless );