From 40b605c41542baf9b10a1a2b03af10e3baaa362f Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Tue, 16 Apr 2024 20:42:26 +0000 Subject: Stop log spam in case download errors out See manaplus.log in https://git.themanaworld.org/specing/manaplus/-/jobs/168040#L3241 **** mana/plus!72 --- src/gui/windows/serverdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); -- cgit v1.2.3-60-g2f50