[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 d26a7b213f
commit 60f7710d9f
2 changed files with 2 additions and 2 deletions

View file

@ -303,7 +303,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);