aboutsummaryrefslogtreecommitdiff
path: root/lib/avatar.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-07 22:13:42 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-07 22:25:17 +0200
commite5a760371a158bec6a70353b96614611adecc4bc (patch)
treee0ac5a6eaf1e0aa72c31b397fa82b6a96c1784e8 /lib/avatar.h
parentbd649c591fa020fde0bd56a63c13025097b831ae (diff)
downloadlibquotient-e5a760371a158bec6a70353b96614611adecc4bc.tar.gz
libquotient-e5a760371a158bec6a70353b96614611adecc4bc.zip
Update non-generated code to work with QUrls in CS API
Diffstat (limited to 'lib/avatar.h')
-rw-r--r--lib/avatar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/avatar.h b/lib/avatar.h
index be125c17..37e1eeef 100644
--- a/lib/avatar.h
+++ b/lib/avatar.h
@@ -21,7 +21,7 @@ public:
Avatar& operator=(Avatar&&);
using get_callback_t = std::function<void()>;
- using upload_callback_t = std::function<void(QString)>;
+ using upload_callback_t = std::function<void(QUrl)>;
QImage get(Connection* connection, int dimension,
get_callback_t callback) const;