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

Shrink knob rounding radius to 2px on Mac too.

This commit is contained in:
Teo Mrnjavac
2012-08-30 23:22:22 +02:00
parent b1824c349e
commit 5e62f28523

View File

@@ -279,7 +279,7 @@ SlideSwitchButton::createKnob()
p.setPen( QColor( 152, 152, 152 ) );
#ifdef Q_OS_MAC
p.drawRoundedRect( m_knob.rect(), 3, 3 );
p.drawRoundedRect( m_knob.rect(), 2, 2 );
#else
p.drawRoundedRect( m_knob.rect().adjusted( 1, 1, -1, -1 ), 2, 2 );
#endif