summaryrefslogtreecommitdiff
path: root/src/gui/setup_other.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-02 23:26:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-02 23:26:04 +0300
commit5c9d41ce013205bdef4ebff837fadf2e0763401c (patch)
treeb3bdf8563e8f512d0f43b274a968c8fb40adff9e /src/gui/setup_other.cpp
parent4741c7b959384ff9ca6b93d083a87d919ce3ba46 (diff)
downloadmanaplus-5c9d41ce013205bdef4ebff837fadf2e0763401c.tar.gz
manaplus-5c9d41ce013205bdef4ebff837fadf2e0763401c.tar.bz2
manaplus-5c9d41ce013205bdef4ebff837fadf2e0763401c.tar.xz
manaplus-5c9d41ce013205bdef4ebff837fadf2e0763401c.zip
Add timeout option between connections to sub servers.
This can be usefull for bad and slow connections.
Diffstat (limited to 'src/gui/setup_other.cpp')
-rw-r--r--src/gui/setup_other.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp
index bf186b45a..2f86db8af 100644
--- a/src/gui/setup_other.cpp
+++ b/src/gui/setup_other.cpp
@@ -226,6 +226,9 @@ Setup_Other::Setup_Other()
"", "usefbo", this, "usefboEvent");
#endif
+ new SetupItemIntTextField(_("Network delay between sub servers"),
+ "", "networksleep", this, "networksleepEvent", 0, 10000);
+
new SetupItemCheckBox(_("Show background"), "", "showBackground",
this, "showBackgroundEvent");