From 470f54718c9603b3f1ee5647e7d016f4f10a4059 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 19 Aug 2015 14:36:41 +0200 Subject: This doesn't work yet together with waitForFinished --- common/genericresource.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/genericresource.cpp') diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 3b3fdb0..943f7d2 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp @@ -195,12 +195,12 @@ void GenericResource::processCommand(int commandId, const QByteArray &data) mUserQueue.startTransaction(); enqueueCommand(mUserQueue, commandId, data); modifications++; - if (modifications >= 100) { + // if (modifications >= 100) { mUserQueue.commit(); - modifications = 0; - } else { - mCommitQueueTimer.start(); - } + // modifications = 0; + // } else { + // mCommitQueueTimer.start(); + // } } static void waitForDrained(KAsync::Future &f, MessageQueue &queue) -- cgit v1.2.3