Showing the changes to libraries/script-engine/src/DataServerScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -7,15 +7,15 @@ · 6 unmodified lines | ||
| 7 | 7 | // |
| 8 | 8 | |
| 9 | 9 | #include <DataServerClient.h> |
| 10 | +#include <NodeList.h> | |
| 10 | 11 | |
| 11 | 12 | #include "DataServerScriptingInterface.h" |
| 12 | 13 | |
| 13 | −DataServerScriptingInterface::DataServerScriptingInterface() : | |
| 14 | − _uuid(QUuid::createUuid()) | |
| 14 | +DataServerScriptingInterface::DataServerScriptingInterface() | |
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | void DataServerScriptingInterface::setValueForKey(const QString& key, const QString& value) { |
| 20 | − DataServerClient::putValueForKeyAndUUID(key, value, _uuid); | |
| 20 | + DataServerClient::putValueForKeyAndUUID(key, value, NodeList::getInstance()->getOwnerUUID()); | |
| 21 | 21 | } |