mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
Minor cleanup & set RR default for new clients (#3591)
* Minor cleanup & set RR default for new clients * Handle case of no entries Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * Use RR as default on rebuilds Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
This commit is contained in:
parent
45b16ba78d
commit
e77e439c4b
3 changed files with 10 additions and 27 deletions
|
|
@ -87,7 +87,7 @@ void HandlePublicServers::updateServerINISettings(QMap<QString, QVariant> jsonMa
|
|||
if (serverFound) {
|
||||
settingsCache->servers().updateExistingServerWithoutLoss(serverName, serverAddress, serverPort, serverSite);
|
||||
} else {
|
||||
settingsCache->servers().addNewServer(serverName, serverAddress, serverPort, "", "", false);
|
||||
settingsCache->servers().addNewServer(serverName, serverAddress, serverPort, "", "", false, serverSite);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue