Make sure that SEND-LAST-VERSION is executed exactly once.

This commit is contained in:
Gerhard Hoffmann 2024-05-15 14:56:41 +02:00
parent 3b2200c0bf
commit 5876c50a32

View File

@ -32,6 +32,8 @@ QString const Worker::UPDATE_STEP_WRONG ( "[WRONG]");
QString const Worker::UPDATE_STEP_FAIL ( " [FAIL]"); QString const Worker::UPDATE_STEP_FAIL ( " [FAIL]");
QString const Worker::UPDATE_STEP_SUCCESS(" [SUCCESS]"); QString const Worker::UPDATE_STEP_SUCCESS(" [SUCCESS]");
bool Worker::sendLastVersionOnce = false;
using UPDATE_STEP = Worker::UPDATE_STEP; using UPDATE_STEP = Worker::UPDATE_STEP;
const QMap<UPDATE_STEP, const char*> Worker::smap ( const QMap<UPDATE_STEP, const char*> Worker::smap (
std::initializer_list<std::pair<UPDATE_STEP, const char*>>{ std::initializer_list<std::pair<UPDATE_STEP, const char*>>{