|
@@ -75,7 +75,7 @@ Settings::ServerList Settings::serverList()
|
|
ourSettings->setArrayIndex(i);
|
|
ourSettings->setArrayIndex(i);
|
|
QStringList svaddr = ourSettings->value("address").toString().split(":");
|
|
QStringList svaddr = ourSettings->value("address").toString().split(":");
|
|
Server sv;
|
|
Server sv;
|
|
- if(svaddr.size() == 2)
|
|
|
|
|
|
+ if(svaddr.size() >= 2)
|
|
{
|
|
{
|
|
sv.address = svaddr.at(0);
|
|
sv.address = svaddr.at(0);
|
|
sv.port = svaddr.at(1).toUShort();
|
|
sv.port = svaddr.at(1).toUShort();
|