update settings version

This commit is contained in:
Rasmus Karlsson
2017-06-17 15:15:58 +02:00
parent 8e0bc16710
commit 1d8795ef1b
3 changed files with 6 additions and 5 deletions
+5 -3
View File
@@ -45,10 +45,12 @@ SettingsManager::SettingsManager()
, hideUserButton(_settingsItems, "hideUserButton", false)
, useCustomWindowFrame(_settingsItems, "useCustomWindowFrame", true)
{
this->showTimestamps.valueChanged.connect([this](const auto &) { this->updateWordTypeMask(); });
this->showTimestampSeconds.valueChanged.connect(
this->showTimestamps.getValueChangedSignal().connect(
[this](const auto &) { this->updateWordTypeMask(); });
this->showTimestampSeconds.getValueChangedSignal().connect(
[this](const auto &) { this->updateWordTypeMask(); });
this->showBadges.getValueChangedSignal().connect(
[this](const auto &) { this->updateWordTypeMask(); });
this->showBadges.valueChanged.connect([this](const auto &) { this->updateWordTypeMask(); });
this->enableBttvEmotes.valueChanged.connect(
[this](const auto &) { this->updateWordTypeMask(); });
this->enableEmojis.valueChanged.connect([this](const auto &) { this->updateWordTypeMask(); });