Remove another implicit this-capture for C++20 migration (#4257)

* Fix another usage of an implicit this capture

* Add changelog entry
This commit is contained in:
pajlada
2022-12-24 15:23:07 +01:00
committed by GitHub
parent 86e71c8bd9
commit 621134ffcb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ void Emojis::sortEmojis()
void Emojis::loadEmojiSet()
{
#ifndef CHATTERINO_TEST
getSettings()->emojiSet.connect([=](const auto &emojiSet) {
getSettings()->emojiSet.connect([this](const auto &emojiSet) {
#else
const QString emojiSet = "twitter";
#endif