DolphinQT/Netplay: Make variables constant

This commit is contained in:
Dr. Dystopia
2025-03-26 17:00:13 +01:00
parent b2e5d6df25
commit cb30862cfb
6 changed files with 51 additions and 51 deletions

View File

@ -289,7 +289,7 @@ void NetPlayBrowser::accept()
const int index = m_table_widget->selectedItems()[0]->row();
NetPlaySession& session = m_sessions[index];
const NetPlaySession& session = m_sessions[index];
std::string server_id = session.server_id;
@ -309,7 +309,7 @@ void NetPlayBrowser::accept()
const std::string password = dialog.textValue().toStdString();
auto decrypted_id = session.DecryptID(password);
const auto decrypted_id = session.DecryptID(password);
if (!decrypted_id)
{