From 22af1ed535b4afc8db3804e72bc5adb1a1b28d60 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 25 Nov 2016 08:27:06 +0100 Subject: Added the flush command. Instead of trying to actually flush queues, we send a special command through the same queues as the other commands and can thus guarantee that the respective commands have been processed without blocking anything. --- common/commands.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/commands.cpp') diff --git a/common/commands.cpp b/common/commands.cpp index 91657b8..c0781f6 100644 --- a/common/commands.cpp +++ b/common/commands.cpp @@ -61,6 +61,8 @@ QByteArray name(int commandId) return "Inspection"; case RemoveFromDiskCommand: return "RemoveFromDisk"; + case FlushCommand: + return "Flush"; case CustomCommand: return "Custom"; }; -- cgit v1.2.3