mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +02:00
fix odd encoding in settings URL
This commit is contained in:
parent
95d266b305
commit
3f70402e63
1 changed files with 1 additions and 2 deletions
|
@ -489,7 +489,7 @@ void AudioMixer::run() {
|
||||||
settingsJSONURL.setHost(nodeList->getDomainHandler().getHostname());
|
settingsJSONURL.setHost(nodeList->getDomainHandler().getHostname());
|
||||||
settingsJSONURL.setPort(DOMAIN_SERVER_HTTP_PORT);
|
settingsJSONURL.setPort(DOMAIN_SERVER_HTTP_PORT);
|
||||||
settingsJSONURL.setPath("/settings.json/");
|
settingsJSONURL.setPath("/settings.json/");
|
||||||
settingsJSONURL.setQuery("type=" + QString(_type));
|
settingsJSONURL.setQuery(QString("type=%1").arg(_type));
|
||||||
|
|
||||||
QNetworkReply *reply = NULL;
|
QNetworkReply *reply = NULL;
|
||||||
|
|
||||||
|
@ -515,7 +515,6 @@ void AudioMixer::run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
QJsonDocument settingsJSON = QJsonDocument::fromJson(reply->readAll());
|
QJsonDocument settingsJSON = QJsonDocument::fromJson(reply->readAll());
|
||||||
qDebug() << settingsJSON;
|
|
||||||
|
|
||||||
// check the payload to see if we have any unattenuated zones
|
// check the payload to see if we have any unattenuated zones
|
||||||
const QString UNATTENUATED_ZONE_REGEX_STRING = "--unattenuated-zone ([\\d.,-]+)";
|
const QString UNATTENUATED_ZONE_REGEX_STRING = "--unattenuated-zone ([\\d.,-]+)";
|
||||||
|
|
Loading…
Reference in a new issue