fix for getSetting QVariant ref in DomainServer

This commit is contained in:
Stephen Birarda 2018-03-06 13:52:41 -08:00
parent 9294ae0dd2
commit a83b54e10d

View file

@ -1939,7 +1939,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()) {