summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r--common/resourceaccess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp
index be25533..8988032 100644
--- a/common/resourceaccess.cpp
+++ b/common/resourceaccess.cpp
@@ -296,7 +296,7 @@ KAsync::Job<void> ResourceAccess::sendCreateCommand(const QByteArray &resourceBu
296 //This is the resource buffer type and not the domain type 296 //This is the resource buffer type and not the domain type
297 auto type = fbb.CreateString(resourceBufferType.constData()); 297 auto type = fbb.CreateString(resourceBufferType.constData());
298 auto delta = Akonadi2::EntityBuffer::appendAsVector(fbb, buffer.constData(), buffer.size()); 298 auto delta = Akonadi2::EntityBuffer::appendAsVector(fbb, buffer.constData(), buffer.size());
299 auto location = Akonadi2::Commands::CreateCreateEntity(fbb, type, delta); 299 auto location = Akonadi2::Commands::CreateCreateEntity(fbb, 0, type, delta);
300 Akonadi2::Commands::FinishCreateEntityBuffer(fbb, location); 300 Akonadi2::Commands::FinishCreateEntityBuffer(fbb, location);
301 open(); 301 open();
302 return sendCommand(Akonadi2::Commands::CreateEntityCommand, fbb); 302 return sendCommand(Akonadi2::Commands::CreateEntityCommand, fbb);