diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-27 21:40:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-27 21:46:24 +0300 |
commit | d5575529b244757b4d5d75b196772131d5575e43 (patch) | |
tree | 141f699582c2ad6e393e65cb4295e93bbf84a1c6 /src/gui | |
parent | 34f6df585176b38e8cd6744b2b1f7c03aa1d2dd6 (diff) | |
download | manaverse-d5575529b244757b4d5d75b196772131d5575e43.tar.gz manaverse-d5575529b244757b4d5d75b196772131d5575e43.tar.bz2 manaverse-d5575529b244757b4d5d75b196772131d5575e43.tar.xz manaverse-d5575529b244757b4d5d75b196772131d5575e43.zip |
Show in log information about servers list update.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index c8c0256ee..46633fb33 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -198,6 +198,8 @@ void ServerDialog::postInit() if (needUpdateServers()) downloadServerList(); + else + logger->log("Skipping servers list update"); } ServerDialog::~ServerDialog() @@ -413,6 +415,7 @@ void ServerDialog::logic() loadServers(); mDownloadStatus = ServerDialogDownloadStatus::OVER; mDescription->setCaption(std::string()); + logger->log("Servers list updated"); } else if (mDownloadStatus == ServerDialogDownloadStatus::IN_PROGRESS) { @@ -434,6 +437,7 @@ void ServerDialog::logic() { // TRANSLATORS: servers dialog label mDescription->setCaption(_("Error retreiving server list!")); + logger->log("Error: servers list updating error"); } } |