From b44f321626af8d2873d00640028054bf30e23de1 Mon Sep 17 00:00:00 2001
From: Tobias Triffterer <tobias@ep1.ruhr-uni-bochum.de>
Date: Wed, 11 Aug 2021 01:18:33 +0200
Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=9CSend=20Histogram=20Update?=
 =?UTF-8?q?=E2=80=9D=20Command?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This simple command asks the server to send the full content of the
histogram.
---
 src/command.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/command.cpp b/src/command.cpp
index 391c31e..ba054af 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -82,6 +82,7 @@ Command Command::fromString(const QString& source)
         case Action::fillHistogram:
             return parseFillHistogram(rootobj);
         case Action::sendHistogramUpdate:
+            return Command(action, Arguments(), token);
         case Action::moveTargetCloser:
         case Action::moveTargetFarther:
         case Action::openVacuumValve:
-- 
GitLab