diff options
| author | oltolm <oleg.tolmatcev@gmail.com> | 2024-11-01 13:05:14 +0100 |
|---|---|---|
| committer | oltolm <oleg.tolmatcev@gmail.com> | 2025-07-19 22:08:15 +0200 |
| commit | 49c72efcd3dd4da70cf9f5fb43ba68cd7db76ce1 (patch) | |
| tree | 6dc3a953a08c85b289d3f96e565ee51fe1e763e9 /Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp | |
| parent | b25e293cc83477c11894ec733744d1d2e5c6d1b4 (diff) | |
fix Qt6 deprecation warnings
Diffstat (limited to 'Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp index 9188768229..9b41890b96 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp @@ -242,8 +242,12 @@ 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); connect(m_host_button, &QPushButton::clicked, this, &QDialog::accept); |
