QStrings=QInputDialog::getItem(this,"Connect to a Network Peer","Enter a peer to which a connection may be made:",m_servers,rand()%m_servers.count(),true);
stringhost=s.section(":",0,0).toStdString();
shortport=s.section(":",1).toInt();
m_client.connect(host,port);
boolok=false;
QStrings=QInputDialog::getItem(this,"Connect to a Network Peer","Enter a peer to which a connection may be made:",m_servers,m_servers.count()?rand()%m_servers.count():0,true,&ok);