diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-12 23:22:49 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-12 23:22:49 +0900 |
commit | 6d77401c5bf1d67d1660c0661c695ed241fdf58a (patch) | |
tree | 4e8b8410f060390a315da62fc8ca4781035bc0be /connectiondata.cpp | |
parent | 24b60a9693d032cc30ce75803730e4727b418087 (diff) | |
download | libquotient-6d77401c5bf1d67d1660c0661c695ed241fdf58a.tar.gz libquotient-6d77401c5bf1d67d1660c0661c695ed241fdf58a.zip |
Connection::getThumbnail: Add an overload for QString
Connection::getThumbnail(QString,...) is better fitting to retrieve
images for QML image providers - one doesn't need to create a QUrl
(which if made naively ends up being incorrect) and also doesn't need to
stack up "mxc://" before the mediaId. Just call Connection::getThumbnail
with the id the QML engine gives you.
Diffstat (limited to 'connectiondata.cpp')
0 files changed, 0 insertions, 0 deletions