mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-27 07:44:34 +02:00
* One debug line like this is enough.
This commit is contained in:
@@ -190,11 +190,9 @@ TomahawkApp::init()
|
|||||||
#else
|
#else
|
||||||
f.setPointSize( f.pointSize() - 2 );
|
f.setPointSize( f.pointSize() - 2 );
|
||||||
#endif
|
#endif
|
||||||
setFont( f );
|
|
||||||
|
|
||||||
tDebug() << "Default font:" << f.pixelSize() << f.pointSize() << f.pointSizeF() << f.family();
|
setFont( f );
|
||||||
// The following line blocks for 15s on Qt 5.1.0
|
tDebug() << "Default font:" << f.pixelSize() << f.pointSizeF() << f.family() << QFontMetrics( f ).height();
|
||||||
tDebug() << "Font height:" << QFontMetrics( f ).height();
|
|
||||||
TomahawkUtils::setDefaultFontSize( f.pointSize() );
|
TomahawkUtils::setDefaultFontSize( f.pointSize() );
|
||||||
|
|
||||||
TomahawkUtils::setHeadless( m_headless );
|
TomahawkUtils::setHeadless( m_headless );
|
||||||
|
Reference in New Issue
Block a user