mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 17:43:23 -08:00
[Fonts] Drop unused lambda captures in font-refresh handlers
This commit is contained in:
parent
e2e12a3743
commit
e9defaecf6
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ DlgSharedDecksPreview::DlgSharedDecksPreview(QWidget *parent,
|
|||
titleFont.setBold(true);
|
||||
titleFont.setPointSize(titleFont.pointSize() + 2);
|
||||
titleLabel->setFont(titleFont);
|
||||
connect(themeManager, &ThemeManager::fontsChanged, this, [this, titleLabel]() {
|
||||
connect(themeManager, &ThemeManager::fontsChanged, this, [titleLabel]() {
|
||||
QFont refreshedFont = themeManager->appFont(AppFont::InterfaceDefault);
|
||||
refreshedFont.setBold(true);
|
||||
refreshedFont.setPointSize(refreshedFont.pointSize() + 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue