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:
Peter Hartmann 2021-11-05 14:19:48 +01:00
parent 411e9832fd
commit 0d7986b592
1 changed files with 0 additions and 2 deletions

View File

@ -124,8 +124,6 @@ QSGNode* QskProgressBarSkinlet::updateBarNode(
if ( !gradient.isVisible() )
return nullptr;
gradient.setOrientation( bar->orientation() );
if ( !gradient.isMonochrome() )
{
const auto intv = qskBarInterval( bar );