mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
parent
77be6a120c
commit
0ce813b826
2 changed files with 5 additions and 3 deletions
|
|
@ -50,7 +50,8 @@ QString ServersSettings::getSite(QString defaultSite)
|
|||
|
||||
QString ServersSettings::getPrevioushostName()
|
||||
{
|
||||
return getValue("previoushostName", "server").toString();
|
||||
QVariant value = getValue("previoushostName", "server");
|
||||
return value == QVariant() ? "Rooster Ranges" : value.toString();
|
||||
}
|
||||
|
||||
int ServersSettings::getPrevioushostindex(const QString &saveName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue