aboutsummaryrefslogtreecommitdiff
path: root/jobs/passwordlogin.cpp
diff options
context:
space:
mode:
authorKitsuneRal <KitsuneRal@users.noreply.github.com>2016-06-02 07:13:45 +0900
committerKitsuneRal <KitsuneRal@users.noreply.github.com>2016-06-02 07:13:45 +0900
commitc3b7873c1c0c78b271b9e04751f882b1e6c64ed8 (patch)
treecc8b4ec6822779c675b2c33c366c1517f9dd68b9 /jobs/passwordlogin.cpp
parent43ecbf3135687b2e5a5a604a902f992139cce428 (diff)
parent15699734c64c1e2359f9f1f3c74fd1f4c4e23a27 (diff)
downloadlibquotient-c3b7873c1c0c78b271b9e04751f882b1e6c64ed8.tar.gz
libquotient-c3b7873c1c0c78b271b9e04751f882b1e6c64ed8.zip
Merge pull request #10 from ilpianista/master
Relax the Qt requirements down to 5.2.0
Diffstat (limited to 'jobs/passwordlogin.cpp')
-rw-r--r--jobs/passwordlogin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/passwordlogin.cpp b/jobs/passwordlogin.cpp
index 9f0cb2e1..231dcce5 100644
--- a/jobs/passwordlogin.cpp
+++ b/jobs/passwordlogin.cpp
@@ -74,7 +74,7 @@ QString PasswordLogin::apiPath() const
QJsonObject PasswordLogin::data() const
{
QJsonObject json;
- json.insert("type", "m.login.password");
+ json.insert("type", QLatin1String("m.login.password"));
json.insert("user", d->user);
json.insert("password", d->password);
return json;