diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-04-16 20:42:26 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-04-16 20:42:26 +0000 |
commit | 40b605c41542baf9b10a1a2b03af10e3baaa362f (patch) | |
tree | c493cdbd3c1ca94fc997a028fa0a0191f1b2234f /src | |
parent | 6e02a3cbe4c3e9faa9aab458bdf1c220eb7b4e32 (diff) | |
download | manaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.tar.gz manaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.tar.bz2 manaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.tar.xz manaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.zip |
Stop log spam in case download errors out
See manaplus.log in https://git.themanaworld.org/specing/manaplus/-/jobs/168040#L3241
****
mana/plus!72
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 0b4574993..2a3ffc546 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -449,6 +449,8 @@ void ServerDialog::logic() } else if (mDownloadStatus == ServerDialogDownloadStatus::ERROR) { + // prevent log spam: + mDownloadStatus = ServerDialogDownloadStatus::OVER; // TRANSLATORS: servers dialog label mDescription->setCaption(_("Error retreiving server list!")); logger->log("Error: servers list updating error"); |