1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 00:24:12 +02:00

Don't believe the hype. OS X doesn't play nice.

This commit is contained in:
Leo Franchi
2012-08-20 12:08:56 -04:00
parent 128d709bbc
commit e5059aa997

View File

@@ -92,7 +92,13 @@ SlideSwitchButton::init()
QSize
SlideSwitchButton::sizeHint() const
{
#ifndef Q_OS_MAC
const QSize size = QPushButton::sizeHint();
#else
// Don't believe the hype. OS X doesn't play nice.
const QSize size( 70, 20 );
#endif
return QSize( ASPECT_RATIO * size.height(), size.height() );
}