using gradientHint
This commit is contained in:
parent
e176f474a8
commit
2091e6dcaf
|
@ -146,7 +146,7 @@ void QskControl::setBackground( const QskGradient& gradient )
|
|||
{
|
||||
const auto aspect = QskAspect::Control | QskAspect::Color;
|
||||
|
||||
if ( hintTable().gradient( aspect ) != gradient )
|
||||
if ( gradientHint( aspect ) != gradient )
|
||||
{
|
||||
setGradientHint( aspect, gradient );
|
||||
if ( autoFillBackground() )
|
||||
|
|
Loading…
Reference in New Issue