aboutsummaryrefslogtreecommitdiff
path: root/jobs/passwordlogin.cpp
diff options
context:
space:
mode:
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;