diff --git a/src/gui/connectionvalidator.cpp b/src/gui/connectionvalidator.cpp index 9cc24de4a7521..ef2e76b63effd 100644 --- a/src/gui/connectionvalidator.cpp +++ b/src/gui/connectionvalidator.cpp @@ -228,6 +228,8 @@ void ConnectionValidator::slotAuthFailed(QNetworkReply *reply) } } + _errors << tr("Test error"); + stat = SslError; reportResult(stat); } @@ -331,9 +333,10 @@ void ConnectionValidator::reportResult(Status status) { emit connectionResult(status, _errors); - // notify user of errors + // notify user of errors - TODO: only show the new ones if (!_errors.isEmpty() && _previousErrors != _errors) { - showSystrayErrorMessage(); + showSystrayErrorMessage(); + _errors.clear(); } deleteLater();