D22451: Unsplash POTD: filter out banner image and pick random photo from latest

Yunhe Guo noreply at phabricator.kde.org
Sun Jul 14 12:36:02 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190714/c5a4da90/attachment.html>


More information about the Plasma-devel mailing list