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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user