mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-30 19:00:12 +02:00
Call direct implementation instead of virtual in constructor
This commit is contained in:
@@ -267,8 +267,8 @@ SlideSwitchButton::backChecked() const
|
||||
void
|
||||
SlideSwitchButton::createKnob()
|
||||
{
|
||||
const qreal knobWidth = sizeHint().height() * KNOB_ASPECT_RATIO;
|
||||
m_knob = QPixmap( QSize( knobWidth, sizeHint().height() ) );
|
||||
const qreal knobWidth = SlideSwitchButton::sizeHint().height() * KNOB_ASPECT_RATIO;
|
||||
m_knob = QPixmap( QSize( knobWidth, SlideSwitchButton::sizeHint().height() ) );
|
||||
m_knob.fill( Qt::transparent );
|
||||
|
||||
QPainter p( &m_knob );
|
||||
|
Reference in New Issue
Block a user