From c64b3df2773970866b4c98fdd4bf2b592001a584 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 21 Apr 2016 08:04:15 +0200 Subject: [PATCH] Variant -> double in QJsonValue. --- src/services/tt-rss/network/ttrssnetworkfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/tt-rss/network/ttrssnetworkfactory.cpp b/src/services/tt-rss/network/ttrssnetworkfactory.cpp index c0eebab89..47d75462c 100755 --- a/src/services/tt-rss/network/ttrssnetworkfactory.cpp +++ b/src/services/tt-rss/network/ttrssnetworkfactory.cpp @@ -82,7 +82,7 @@ TtRssLoginResponse TtRssNetworkFactory::login() { } QJsonObject json; - json["op"] = QJsonValue(QSL("login")); + json["op"] = QSL("login"); json["user"] = m_username; json["password"] = m_password; @@ -110,7 +110,7 @@ TtRssResponse TtRssNetworkFactory::logout() { if (!m_sessionId.isEmpty()) { QJsonObject json; - json["op"] = "logout"; + json["op"] = QSL("logout"); json["sid"] = m_sessionId; QByteArray result_raw;