mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
DolphinQT/Netplay: Make variables constant
This commit is contained in:
parent
b2e5d6df25
commit
cb30862cfb
6 changed files with 51 additions and 51 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue