KQuickStyleItem: Simplify the updatePolish

  • Don't cast the devicePixelRatio into a float unnecessarily, use the same type we get.
  • Only keep the texture for visible items.
  • Do not re-create the texture if the sizes haven't changed.
Edited by Aleix Pol Gonzalez

Merge request reports

Loading