QTfrontend/ui/page/pagenetserver.cpp
changeset 10017 de822cd3df3a
parent 9998 736015b847e3
child 10108 c68cf030eded
equal deleted inserted replaced
10015:4feced261c68 10017:de822cd3df3a
   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 his 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 {
   131     QString address = "hwplay://";
   131     QString address = "hwplay://";
   132 
   132