#include "ModerationActions.hpp" #include "Application.hpp" #include "singletons/Settings.hpp" #include namespace chatterino { ModerationActions::ModerationActions() { } void ModerationActions::initialize() { assert(!this->initialized); this->initialized = true; for (auto &val : this->setting.getValue()) { this->items.insertItem(val); } this->items.delayedItemsChanged.connect([this] { // this->setting.setValue(this->items.getVector()); }); } } // namespace chatterino