mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
[Fonts] Drop unused lambda captures in font-refresh handlers
This commit is contained in:
parent
dd15c1a5f9
commit
9cb33f8fe4
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue