[Fonts] Drop unused lambda captures in font-refresh handlers

This commit is contained in:
Lukas Brübach 2026-10-21 05:11:01 +02:00
parent e2e12a3743
commit e9defaecf6
2 changed files with 2 additions and 2 deletions

View file

@ -277,7 +277,7 @@ QGroupBox *HomeWidget::createButtons()
QFont boxFont = themeManager->appFont(AppFont::InterfaceDefault);
boxFont.setPointSize(20);
box->setFont(boxFont);
connect(themeManager, &ThemeManager::fontsChanged, this, [this, box]() {
connect(themeManager, &ThemeManager::fontsChanged, this, [box]() {
QFont refreshedFont = themeManager->appFont(AppFont::InterfaceDefault);
refreshedFont.setPointSize(20);
box->setFont(refreshedFont);