Variant -> double in QJsonValue.
This commit is contained in:
parent
90ebdb808d
commit
c64b3df277
1 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ TtRssLoginResponse TtRssNetworkFactory::login() {
|
||||||
}
|
}
|
||||||
|
|
||||||
QJsonObject json;
|
QJsonObject json;
|
||||||
json["op"] = QJsonValue(QSL("login"));
|
json["op"] = QSL("login");
|
||||||
json["user"] = m_username;
|
json["user"] = m_username;
|
||||||
json["password"] = m_password;
|
json["password"] = m_password;
|
||||||
|
|
||||||
|
|
@ -110,7 +110,7 @@ TtRssResponse TtRssNetworkFactory::logout() {
|
||||||
if (!m_sessionId.isEmpty()) {
|
if (!m_sessionId.isEmpty()) {
|
||||||
|
|
||||||
QJsonObject json;
|
QJsonObject json;
|
||||||
json["op"] = "logout";
|
json["op"] = QSL("logout");
|
||||||
json["sid"] = m_sessionId;
|
json["sid"] = m_sessionId;
|
||||||
|
|
||||||
QByteArray result_raw;
|
QByteArray result_raw;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue