fixing compile errors

This commit is contained in:
Wayne Chen 2019-01-25 13:56:56 -08:00
parent 6f49914167
commit 1c6521486e
2 changed files with 2 additions and 3 deletions

View file

@ -304,8 +304,7 @@ void LoginDialog::createFailed(QNetworkReply* reply) {
emit handleCreateFailed(reply->errorString());
return;
}
auto root = doc.object();
auto data = root["data"];
auto data = doc["data"];
auto error = data["error"];
auto oculusError = data["oculus"];
auto user = error["username"].toArray();

View file

@ -24,7 +24,7 @@ OculusAPIPlugin::~OculusAPIPlugin() {
hifi::ovr::releaseRenderSession(_session);
}
bool OculusAPIPlugin::isRunning() {
bool OculusAPIPlugin::isRunning() const {
return (qApp->property(hifi::properties::OCULUS_STORE).toBool());
}