From b187b95672fe0d8b16ba80bedd9022f1cda3a051 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 20 Jul 2015 16:15:49 +0200 Subject: Pass command around as QByteArray Simpler api, GenericResource didn't honor size anyways, and we copy the command for now to avoid sideeffects of data coming in in the meantime (although that should generally work since data is always appended). --- common/resource.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/resource.cpp') diff --git a/common/resource.cpp b/common/resource.cpp index bd69afd..40ad04c 100644 --- a/common/resource.cpp +++ b/common/resource.cpp @@ -44,11 +44,10 @@ void Resource::configurePipeline(Pipeline *pipeline) } -void Resource::processCommand(int commandId, const QByteArray &data, uint size, Pipeline *pipeline) +void Resource::processCommand(int commandId, const QByteArray &data, Pipeline *pipeline) { Q_UNUSED(commandId) Q_UNUSED(data) - Q_UNUSED(size) Q_UNUSED(pipeline) pipeline->null(); } -- cgit v1.2.3