Mercurial > hg > easyhg
diff mainwindow.cpp @ 25:eba979148fb3
Listens on only the interface/port that messagebox announces.
author | Jari Korhonen <jtkorhonen@gmail.com> |
---|---|
date | Wed, 19 May 2010 23:08:42 +0300 |
parents | bb93f0593aeb |
children | 6e8cd5ffa4df |
line wrap: on
line diff
--- a/mainwindow.cpp Wed May 19 22:57:05 2010 +0300 +++ b/mainwindow.cpp Wed May 19 23:08:42 2010 +0300 @@ -583,7 +583,7 @@ QString addr = findMyIp(); QTextStream(&msg) << "Server running on http://" << addr << ":8000/"; - params << "serve"; + params << "serve" << "--address" << addr << "--port" << "8000"; runner -> startProc(getHgBinaryName(), workFolderPath, params, false); runningAction = ACT_SERVE;