diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-26 00:29:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-26 00:29:02 +0300 |
commit | 0c6809ad24bce28c8ae587d646c0287be88de101 (patch) | |
tree | df4412be46ae8f4e76be719079ccccc87ccc5223 /src/client.cpp | |
parent | 3d2dfc097a0967eb31f738c7005d08552b17d614 (diff) | |
download | manaverse-0c6809ad24bce28c8ae587d646c0287be88de101.tar.gz manaverse-0c6809ad24bce28c8ae587d646c0287be88de101.tar.bz2 manaverse-0c6809ad24bce28c8ae587d646c0287be88de101.tar.xz manaverse-0c6809ad24bce28c8ae587d646c0287be88de101.zip |
Add option to hide support page link in error dialog.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 4dccaf0cc..70f27f773 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2987,7 +2987,7 @@ Window *Client::openErrorDialog(const std::string &header, const std::string &message, const bool modal) { - if (getSupportUrl().empty()) + if (getSupportUrl().empty() || config.getBoolValue("hidesupport")) { return new OkDialog(header, message, DIALOG_ERROR, modal); } |