3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-27 11:55:25 +02:00

Merge pull request from birarda/bug/domain-settings-metaverse

fix for getSetting QVariant ref in DomainServer
This commit is contained in:
John Conklin II 2018-03-07 12:11:45 -08:00 committed by GitHub
commit e0a11271bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1941,7 +1941,7 @@ bool DomainServer::handleHTTPRequest(HTTPConnection* connection, const QUrl& url
auto nodeList = DependencyManager::get<LimitedNodeList>();
auto getSetting = [this](QString keyPath, QVariant value) -> bool {
auto getSetting = [this](QString keyPath, QVariant& value) -> bool {
value = _settingsManager.valueForKeyPath(keyPath);
if (!value.isValid()) {