diff options
Diffstat (limited to 'src/remoteobjects/qremoteobjectnode.cpp')
-rw-r--r-- | src/remoteobjects/qremoteobjectnode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remoteobjects/qremoteobjectnode.cpp b/src/remoteobjects/qremoteobjectnode.cpp index 9e3e458..acd86a0 100644 --- a/src/remoteobjects/qremoteobjectnode.cpp +++ b/src/remoteobjects/qremoteobjectnode.cpp @@ -329,7 +329,7 @@ void QRemoteObjectNodePrivate::onRemoteObjectSourceAdded(const QRemoteObjectSour QRemoteObjectSourceLocations locs = registry->sourceLocations(); locs[entry.first] = entry.second; //TODO Is there a way to extend QRemoteObjectSourceLocations in place? - registry->setProperty(0, QVariant::fromValue(locs)); + registry->d_ptr->setProperty(0, QVariant::fromValue(locs)); qROPrivDebug() << "onRemoteObjectSourceAdded, now locations =" << locs; } if (replicas.contains(entry.first)) //We have a replica waiting on this remoteObject @@ -351,7 +351,7 @@ void QRemoteObjectNodePrivate::onRemoteObjectSourceRemoved(const QRemoteObjectSo if (!entry.first.isEmpty()) { QRemoteObjectSourceLocations locs = registry->sourceLocations(); locs.remove(entry.first); - registry->setProperty(0, QVariant::fromValue(locs)); + registry->d_ptr->setProperty(0, QVariant::fromValue(locs)); } } |