From 250ef077da38bdf18b619e730a6304703916f106 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Tue, 22 Jan 2019 22:15:38 +0100 Subject: [PATCH] Unremove wordflagslistener this relies on appbase#1 PR --- src/singletons/WindowManager.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/singletons/WindowManager.cpp b/src/singletons/WindowManager.cpp index 1be6f4011..ca797be17 100644 --- a/src/singletons/WindowManager.cpp +++ b/src/singletons/WindowManager.cpp @@ -81,10 +81,9 @@ WindowManager::WindowManager() this->wordFlagsListener_.addSetting(settings->enableTwitchEmotes); this->wordFlagsListener_.addSetting(settings->boldUsernames); this->wordFlagsListener_.addSetting(settings->lowercaseDomains); - // REMOVED - // this->wordFlagsListener_.cb = [this](auto) { - // this->updateWordTypeMask(); // - //}; + this->wordFlagsListener_.setCB([this] { + this->updateWordTypeMask(); // + }); this->saveTimer = new QTimer;