summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-09-20 13:58:17 +0200
committerJosJuice <josjuice@gmail.com>2020-12-11 19:54:16 +0100
commitb285991b886c0097f9d7ef9875eac158b9a3b6c0 (patch)
treefc10d8d39ded896db96193af53da3ce872eb3c65 /Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp
parent11e8783893a52c92759656eee732f104b97b01cc (diff)
Turn Config::Info into a class with getters
Diffstat (limited to 'Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp
index 521ec48745..12726019f6 100644
--- a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp
+++ b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp
@@ -381,13 +381,13 @@ void NetPlaySetupDialog::PopulateGameList()
void NetPlaySetupDialog::ResetTraversalHost()
{
Config::SetBaseOrCurrent(Config::NETPLAY_TRAVERSAL_SERVER,
- Config::NETPLAY_TRAVERSAL_SERVER.default_value);
+ Config::NETPLAY_TRAVERSAL_SERVER.GetDefaultValue());
Config::SetBaseOrCurrent(Config::NETPLAY_TRAVERSAL_PORT,
- Config::NETPLAY_TRAVERSAL_PORT.default_value);
+ Config::NETPLAY_TRAVERSAL_PORT.GetDefaultValue());
ModalMessageBox::information(
this, tr("Reset Traversal Server"),
tr("Reset Traversal Server to %1:%2")
- .arg(QString::fromStdString(Config::NETPLAY_TRAVERSAL_SERVER.default_value),
- QString::number(Config::NETPLAY_TRAVERSAL_PORT.default_value)));
+ .arg(QString::fromStdString(Config::NETPLAY_TRAVERSAL_SERVER.GetDefaultValue()),
+ QString::number(Config::NETPLAY_TRAVERSAL_PORT.GetDefaultValue())));
}