the emphasis might also have an impact on the sizeHints

This commit is contained in:
Uwe Rathmann 2024-02-22 09:37:17 +01:00
parent 7901157b2f
commit d0dd2ac93b

View File

@ -87,7 +87,10 @@ void QskPushButton::setEmphasis( Emphasis emphasis )
if ( emphasis != m_data->emphasis )
{
m_data->emphasis = emphasis;
resetImplicitSize();
update();
Q_EMIT emphasisChanged( emphasis );
}
}