summaryrefslogtreecommitdiffstats
path: root/common/remoteidmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/remoteidmap.cpp')
-rw-r--r--common/remoteidmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/remoteidmap.cpp b/common/remoteidmap.cpp
index f72369d..bbcd641 100644
--- a/common/remoteidmap.cpp
+++ b/common/remoteidmap.cpp
@@ -56,7 +56,7 @@ QByteArray RemoteIdMap::resolveRemoteId(const QByteArray &bufferType, const QByt
56 Index index("rid.mapping." + bufferType, mTransaction); 56 Index index("rid.mapping." + bufferType, mTransaction);
57 QByteArray sinkId = index.lookup(remoteId); 57 QByteArray sinkId = index.lookup(remoteId);
58 if (sinkId.isEmpty()) { 58 if (sinkId.isEmpty()) {
59 sinkId = QUuid::createUuid().toString().toUtf8(); 59 sinkId = Sink::Storage::generateUid();
60 index.add(remoteId, sinkId); 60 index.add(remoteId, sinkId);
61 Index("localid.mapping." + bufferType, mTransaction).add(sinkId, remoteId); 61 Index("localid.mapping." + bufferType, mTransaction).add(sinkId, remoteId);
62 } 62 }