guoyunhe added a comment.

  In D22451#495272 <https://phabricator.kde.org/D22451#495272>, @ngraham wrote:
  
  > Instead of `smooth: true` doing this may achieve the same result with less 
memory usage:
  >
  >   sourceSize.width: parent.width
  >   sourceSize.height: parent.height
  >
  
  
  I tried it but got black screen...
  
    QImageItem {
        anchors.fill: parent
        image: engine.data[provider]["Image"]
        fillMode: wallpaper.configuration.FillMode
        // Render image smoothly
        sourceSize.width: parent.width
        sourceSize.height: parent.height
    }

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D22451

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, 
Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, 
sebas, apol, mart

Reply via email to