diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-05 11:06:30 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-09 11:01:03 +0900 |
commit | 10a32c47a95b8438309841c4cb63159c4799bb8b (patch) | |
tree | 4804e8e5fc2ac0618c2967ceb5147807de16f5b9 /avatar.cpp | |
parent | 02e518415c140e8271c4f4222fb7e1d42393de66 (diff) | |
download | libquotient-10a32c47a95b8438309841c4cb63159c4799bb8b.tar.gz libquotient-10a32c47a95b8438309841c4cb63159c4799bb8b.zip |
Avatar: Use Connection::getThumbnail instead of callApi<>
Diffstat (limited to 'avatar.cpp')
-rw-r--r-- | avatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ QImage Avatar::Private::get(QSize size, Avatar::notifier_t notifier) if (_ongoingRequest) _ongoingRequest->abandon(); notifiers.emplace_back(std::move(notifier)); - _ongoingRequest = _connection->callApi<MediaThumbnailJob>(_url, size); + _ongoingRequest = _connection->getThumbnail(_url, size); _ongoingRequest->connect( _ongoingRequest, &MediaThumbnailJob::finished, _connection, [=]() { if (_ongoingRequest->status().good()) |