From ba50bf0bc67613ecfc903e97e7f6fe2d10aafb7d Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sat, 11 Sep 2021 14:49:13 +0200 Subject: [PATCH] controller: Remove m_process_events field --- include/components/controller.hpp | 5 ----- src/components/controller.cpp | 1 - 2 files changed, 6 deletions(-) diff --git a/include/components/controller.hpp b/include/components/controller.hpp index cf4f3f1e..afa247f4 100644 --- a/include/components/controller.hpp +++ b/include/components/controller.hpp @@ -103,11 +103,6 @@ class controller */ std::unique_ptr m_notifier{nullptr}; - /** - * \brief State flag - */ - std::atomic m_process_events{false}; - /** * \brief Destination path of generated snapshot */ diff --git a/src/components/controller.cpp b/src/components/controller.cpp index 5a36969f..6c27ab8a 100644 --- a/src/components/controller.cpp +++ b/src/components/controller.cpp @@ -703,7 +703,6 @@ bool controller::on(const signals::eventqueue::check_state&) { * Process ui ready event */ bool controller::on(const signals::ui::ready&) { - m_process_events = true; trigger_update(true); if (!m_snapshot_dst.empty()) {