aboutsummaryrefslogtreecommitdiff
path: root/lib/converters.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-09 22:53:29 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-06-09 22:53:29 +0900
commit46801080846d58ab1528e921bebcb14e651f7956 (patch)
tree13fadd0e947a184bc7cef77c5c0867bf404bfe0b /lib/converters.cpp
parent6767cb8eccea7b74531f59f165a28afa0bec61f4 (diff)
downloadlibquotient-46801080846d58ab1528e921bebcb14e651f7956.tar.gz
libquotient-46801080846d58ab1528e921bebcb14e651f7956.zip
csapi: Now really fix passing query parameters
Also: GetContentThumbnailJob (again) requires width and height.
Diffstat (limited to 'lib/converters.cpp')
-rw-r--r--lib/converters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/converters.cpp b/lib/converters.cpp
index f09fe5c2..41a9a65e 100644
--- a/lib/converters.cpp
+++ b/lib/converters.cpp
@@ -22,7 +22,7 @@
using namespace QMatrixClient;
-QJsonValue QMatrixClient::toJson(const QVariant& v)
+QJsonValue QMatrixClient::variantToJson(const QVariant& v)
{
return QJsonValue::fromVariant(v);
}