History

more cleanup

milad committed 7 years ago

Commit 49f97271 parent 5b9b30b1 file · +1 −2Browse files

Showing the changes to interface/src/scripting/ScreenshareScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/scripting/ScreenshareScriptingInterface.cpp+1−2
@@ -94,7 +94,7 @@ void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZon · 93 unmodified lines
94 94
95 token = answerJSONObject["token"].toString();95 token = answerJSONObject["token"].toString();
96 projectAPIKey = answerJSONObject["projectAPIKey"].toString();96 projectAPIKey = answerJSONObject["projectAPIKey"].toString();
97 sessionID = answerJSONObject["sessionID"].toString(); // hifi-test has Id camel-case. Change for metaverse. 97 sessionID = answerJSONObject["sessionID"].toString();
98 qDebug() << "token:" << token << " projectAPIKey:" << projectAPIKey << " sessionID: " << sessionID;98 qDebug() << "token:" << token << " projectAPIKey:" << projectAPIKey << " sessionID: " << sessionID;
99 99
100 if (isPresenter) {100 if (isPresenter) {
@@ -155,7 +155,6 @@ void ScreenshareScriptingInterface::startScreenshare(const QUuid& screenshareZon · 54 unmodified lines
155 return;155 return;
156 }156 }
157 157
158 qDebug() << "MN HERE! message:" << message;
159 QByteArray jsonByteArray = QVariant(message).toString().toUtf8();158 QByteArray jsonByteArray = QVariant(message).toString().toUtf8();
160 QJsonDocument jsonObject = QJsonDocument::fromJson(jsonByteArray);159 QJsonDocument jsonObject = QJsonDocument::fromJson(jsonByteArray);
161 160