mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Resolve "implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20" warning
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user