- // if v4 succeeded on Any, the port will be already in use - don't display the error then
- // FIXME: handle this more sanely, make sure we can listen to both v4 and v6 by default!
- if(!success || _v6server.serverError() != QAbstractSocket::AddressInUseError)
+ // if v6 succeeded on Any, the port will be already in use - don't display the error then
+ if(!success || _server.serverError() != QAbstractSocket::AddressInUseError)