equal
deleted
inserted
replaced
120 void PageNetServer::setDefaultPort() |
120 void PageNetServer::setDefaultPort() |
121 { |
121 { |
122 sbPort->setValue(NETGAME_DEFAULT_PORT); |
122 sbPort->setValue(NETGAME_DEFAULT_PORT); |
123 } |
123 } |
124 |
124 |
125 // This function assumes that the user wants to share his server while connected to |
125 // This function assumes that the user wants to share their server while connected to |
126 // the Internet and that he/she is using direct access (eg no NATs). To determine the |
126 // the Internet and that he/she is using direct access (eg no NATs). To determine the |
127 // IP we briefly connect to Hedgewars website and fallback to user intervention |
127 // IP we briefly connect to Hedgewars website and fallback to user intervention |
128 // after 4 seconds of timeout. |
128 // after 4 seconds of timeout. |
129 void PageNetServer::copyUrl() |
129 void PageNetServer::copyUrl() |
130 { |
130 { |