mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-24 00:49:18 +00:00
fix Qt6 deprecation warnings
This commit is contained in:
parent
b25e293cc8
commit
49c72efcd3
12 changed files with 94 additions and 0 deletions
|
|
@ -242,7 +242,11 @@ void NetPlaySetupDialog::ConnectWidgets()
|
|||
&NetPlaySetupDialog::SaveSettings);
|
||||
|
||||
#ifdef USE_UPNP
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||
connect(m_host_upnp, &QCheckBox::checkStateChanged, this, &NetPlaySetupDialog::SaveSettings);
|
||||
#else
|
||||
connect(m_host_upnp, &QCheckBox::stateChanged, this, &NetPlaySetupDialog::SaveSettings);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
connect(m_connect_button, &QPushButton::clicked, this, &QDialog::accept);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue