mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
Don't believe the hype. OS X doesn't play nice.
This commit is contained in:
@@ -92,7 +92,13 @@ SlideSwitchButton::init()
|
|||||||
QSize
|
QSize
|
||||||
SlideSwitchButton::sizeHint() const
|
SlideSwitchButton::sizeHint() const
|
||||||
{
|
{
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
const QSize size = QPushButton::sizeHint();
|
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() );
|
return QSize( ASPECT_RATIO * size.height(), size.height() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user