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:
@@ -187,8 +187,11 @@ TomahawkApp::init()
|
|||||||
setFont( f );
|
setFont( f );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
|
||||||
tDebug() << "Default font:" << f.pixelSize() << f.pointSize() << f.pointSizeF() << f.family();
|
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();
|
tDebug() << "Font height:" << QFontMetrics( f ).height();
|
||||||
|
#endif
|
||||||
TomahawkUtils::setDefaultFontSize( f.pointSize() );
|
TomahawkUtils::setDefaultFontSize( f.pointSize() );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user