mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:13:11 +02:00
Totally removed DataServerAccountInfo's JSON constructor
This commit is contained in:
parent
3af4e32c81
commit
1a3de1ef28
2 changed files with 0 additions and 16 deletions
|
@ -24,21 +24,6 @@ DataServerAccountInfo::DataServerAccountInfo() :
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
DataServerAccountInfo::DataServerAccountInfo(const QJsonObject& jsonObject) :
|
|
||||||
_accessToken(jsonObject),
|
|
||||||
_username(),
|
|
||||||
_xmppPassword(),
|
|
||||||
_balance(0),
|
|
||||||
_hasBalance(false)
|
|
||||||
{
|
|
||||||
QJsonObject userJSONObject = jsonObject["user"].toObject();
|
|
||||||
setUsername(userJSONObject["username"].toString());
|
|
||||||
setXMPPPassword(userJSONObject["xmpp_password"].toString());
|
|
||||||
setDiscourseApiKey(userJSONObject["discourse_api_key"].toString());
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
DataServerAccountInfo::DataServerAccountInfo(const DataServerAccountInfo& otherInfo) {
|
DataServerAccountInfo::DataServerAccountInfo(const DataServerAccountInfo& otherInfo) {
|
||||||
_accessToken = otherInfo._accessToken;
|
_accessToken = otherInfo._accessToken;
|
||||||
_username = otherInfo._username;
|
_username = otherInfo._username;
|
||||||
|
|
|
@ -22,7 +22,6 @@ class DataServerAccountInfo : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
DataServerAccountInfo();
|
DataServerAccountInfo();
|
||||||
// DataServerAccountInfo(const QJsonObject& jsonObject);
|
|
||||||
DataServerAccountInfo(const DataServerAccountInfo& otherInfo);
|
DataServerAccountInfo(const DataServerAccountInfo& otherInfo);
|
||||||
DataServerAccountInfo& operator=(const DataServerAccountInfo& otherInfo);
|
DataServerAccountInfo& operator=(const DataServerAccountInfo& otherInfo);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue