QTfrontend/main.cpp
changeset 10486 5e2d26bcafd6
parent 10407 012bb4b63117
child 10488 c5735d0fcc50
equal deleted inserted replaced
10485:05b771423b95 10486:5e2d26bcafd6
   140 .arg(HWApplication::tr("CONNECTSTRING", "command-line"))
   140 .arg(HWApplication::tr("CONNECTSTRING", "command-line"))
   141 .arg(HWApplication::tr("Options", "command-line"))
   141 .arg(HWApplication::tr("Options", "command-line"))
   142 .arg(HWApplication::tr("Display this help", "command-line"))
   142 .arg(HWApplication::tr("Display this help", "command-line"))
   143 .arg(HWApplication::tr("Custom path for configuration data and user data", "command-line"))
   143 .arg(HWApplication::tr("Custom path for configuration data and user data", "command-line"))
   144 .arg(HWApplication::tr("Custom path to the game data folder", "command-line"))
   144 .arg(HWApplication::tr("Custom path to the game data folder", "command-line"))
   145 .arg(HWApplication::tr("Hedgewars can use a %1 (e.g. \"%2\") to connect on start.", "command-line").arg("CONNECTSTRING").arg(QString("hwplay://") + NETGAME_DEFAULT_SERVER));
   145 .arg(HWApplication::tr("Hedgewars can use a %1 (e.g. \"%2\") to connect on start.", "command-line").arg(HWApplication::tr("CONNECTSTRING", "command-line")).arg(QString("hwplay://") + NETGAME_DEFAULT_SERVER));
   146 }
   146 }
   147 
   147 
   148 int main(int argc, char *argv[])
   148 int main(int argc, char *argv[])
   149 {
   149 {
   150     // Since we're calling this first, closeResources() will be the last thing called after main() returns.
   150     // Since we're calling this first, closeResources() will be the last thing called after main() returns.