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);
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);