mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Resolve "implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20" warning
This commit is contained in:
parent
e638bb658f
commit
e54818e60d
10 changed files with 29 additions and 23 deletions
|
@ -213,8 +213,9 @@ void InterfacePane::ConnectLayout()
|
|||
connect(m_checkbox_disable_screensaver, &QCheckBox::toggled, this, &InterfacePane::OnSaveConfig);
|
||||
connect(m_checkbox_show_debugging_ui, &QCheckBox::toggled, this, &InterfacePane::OnSaveConfig);
|
||||
connect(m_checkbox_focused_hotkeys, &QCheckBox::toggled, this, &InterfacePane::OnSaveConfig);
|
||||
connect(m_combobox_theme, qOverload<int>(&QComboBox::currentIndexChanged), this,
|
||||
[=](int index) { Settings::Instance().SetThemeName(m_combobox_theme->itemText(index)); });
|
||||
connect(
|
||||
m_combobox_theme, qOverload<int>(&QComboBox::currentIndexChanged), this,
|
||||
[this](int index) { Settings::Instance().SetThemeName(m_combobox_theme->itemText(index)); });
|
||||
connect(m_combobox_userstyle, qOverload<int>(&QComboBox::currentIndexChanged), this,
|
||||
&InterfacePane::OnSaveConfig);
|
||||
connect(m_combobox_language, qOverload<int>(&QComboBox::currentIndexChanged), this,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue