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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
- Bugfix: Fixed crash that could occur when changing Tab layout and utilizing multiple windows. (#4248) - Bugfix: Fixed crash that could occur when changing Tab layout and utilizing multiple windows. (#4248)
- Dev: Remove protocol from QApplication's Organization Domain (so changed from `https://www.chatterino.com` to `chatterino.com`). (#4256) - Dev: Remove protocol from QApplication's Organization Domain (so changed from `https://www.chatterino.com` to `chatterino.com`). (#4256)
- Dev: Ignore `WM_SHOWWINDOW` hide events, causing fewer attempted rescales. (#4198) - Dev: Ignore `WM_SHOWWINDOW` hide events, causing fewer attempted rescales. (#4198)
- Dev: Migrated to C++ 20 (#4252) - Dev: Migrated to C++ 20 (#4252, #4257)
## 2.4.0 ## 2.4.0

View file

@ -215,7 +215,7 @@ void Emojis::sortEmojis()
void Emojis::loadEmojiSet() void Emojis::loadEmojiSet()
{ {
#ifndef CHATTERINO_TEST #ifndef CHATTERINO_TEST
getSettings()->emojiSet.connect([=](const auto &emojiSet) { getSettings()->emojiSet.connect([this](const auto &emojiSet) {
#else #else
const QString emojiSet = "twitter"; const QString emojiSet = "twitter";
#endif #endif