From 0c65513e39bab7c84f8f29241b254d48679cd29b Mon Sep 17 00:00:00 2001
From: Camila Ayres <hello@camilasan.com>
Date: Mon, 24 Jun 2024 19:46:05 +0200
Subject: [PATCH] Clear error list after displaying it once.

Fix for #6448 and #6487.

Signed-off-by: Camila Ayres <hello@camilasan.com>
---
 src/gui/connectionvalidator.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gui/connectionvalidator.cpp b/src/gui/connectionvalidator.cpp
index 9cc24de4a7521..550815be22220 100644
--- a/src/gui/connectionvalidator.cpp
+++ b/src/gui/connectionvalidator.cpp
@@ -333,7 +333,8 @@ void ConnectionValidator::reportResult(Status status)
 
     // notify user of errors
     if (!_errors.isEmpty() && _previousErrors != _errors) {
-       showSystrayErrorMessage();
+        showSystrayErrorMessage();
+        _errors.clear();
     }
 
     deleteLater();