diff options
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r-- | common/resourceaccess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp index 6dcc898..3696a93 100644 --- a/common/resourceaccess.cpp +++ b/common/resourceaccess.cpp | |||
@@ -353,7 +353,7 @@ KAsync::Job<void> ResourceAccess::sendRevisionReplayedCommand(qint64 revision) | |||
353 | } | 353 | } |
354 | 354 | ||
355 | KAsync::Job<void> | 355 | KAsync::Job<void> |
356 | ResourceAccess::sendInspectionCommand(const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expectedValue) | 356 | ResourceAccess::sendInspectionCommand(int inspectionType, const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expectedValue) |
357 | { | 357 | { |
358 | flatbuffers::FlatBufferBuilder fbb; | 358 | flatbuffers::FlatBufferBuilder fbb; |
359 | auto id = fbb.CreateString(inspectionId.toStdString()); | 359 | auto id = fbb.CreateString(inspectionId.toStdString()); |
@@ -366,7 +366,7 @@ ResourceAccess::sendInspectionCommand(const QByteArray &inspectionId, const QByt | |||
366 | s << expectedValue; | 366 | s << expectedValue; |
367 | 367 | ||
368 | auto expected = fbb.CreateString(array.toStdString()); | 368 | auto expected = fbb.CreateString(array.toStdString()); |
369 | auto location = Sink::Commands::CreateInspection(fbb, id, 0, entity, domain, prop, expected); | 369 | auto location = Sink::Commands::CreateInspection(fbb, id, inspectionType, entity, domain, prop, expected); |
370 | Sink::Commands::FinishInspectionBuffer(fbb, location); | 370 | Sink::Commands::FinishInspectionBuffer(fbb, location); |
371 | open(); | 371 | open(); |
372 | return sendCommand(Sink::Commands::InspectionCommand, fbb); | 372 | return sendCommand(Sink::Commands::InspectionCommand, fbb); |