Chore: Proper Lambda Formatting (#2167)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Leon Richardt
2020-11-08 12:02:19 +01:00
committed by GitHub
parent fbd5df53d8
commit 0eed45ae67
71 changed files with 712 additions and 415 deletions
@@ -29,7 +29,7 @@ void NotificationController::initialize(Settings &settings, Paths &paths)
this->channelMap[Platform::Twitch].append(channelName);
}
this->channelMap[Platform::Twitch].delayedItemsChanged.connect([this] { //
this->channelMap[Platform::Twitch].delayedItemsChanged.connect([this] {
this->twitchSetting_.setValue(this->channelMap[Platform::Twitch].raw());
});
/*
@@ -37,7 +37,7 @@ void NotificationController::initialize(Settings &settings, Paths &paths)
this->channelMap[Platform::Mixer].appendItem(channelName);
}
this->channelMap[Platform::Mixer].delayedItemsChanged.connect([this] { //
this->channelMap[Platform::Mixer].delayedItemsChanged.connect([this] {
this->mixerSetting_.setValue(
this->channelMap[Platform::Mixer]);
});*/
@@ -46,8 +46,9 @@ void NotificationController::initialize(Settings &settings, Paths &paths)
this->fetchFakeChannels();
QObject::connect(this->liveStatusTimer_, &QTimer::timeout,
[=] { this->fetchFakeChannels(); });
QObject::connect(this->liveStatusTimer_, &QTimer::timeout, [=] {
this->fetchFakeChannels();
});
this->liveStatusTimer_->start(60 * 1000);
}