QskProgressBar: Don't hardcode orientation of gradient
It makes sense to have a vertical gradient on a horizontal progress bar etc.
This commit is contained in:
parent
411e9832fd
commit
0d7986b592
|
@ -124,8 +124,6 @@ QSGNode* QskProgressBarSkinlet::updateBarNode(
|
||||||
if ( !gradient.isVisible() )
|
if ( !gradient.isVisible() )
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
gradient.setOrientation( bar->orientation() );
|
|
||||||
|
|
||||||
if ( !gradient.isMonochrome() )
|
if ( !gradient.isMonochrome() )
|
||||||
{
|
{
|
||||||
const auto intv = qskBarInterval( bar );
|
const auto intv = qskBarInterval( bar );
|
||||||
|
|
Loading…
Reference in New Issue