Skip to content

Commit

Permalink
Merge pull request nextcloud#6421 from nextcloud/bugfix/systray-error
Browse files Browse the repository at this point in the history
Do not create systray notification if there are no errors.
  • Loading branch information
mgallien committed Feb 8, 2024
2 parents 182d5bc + 533ef0b commit 9d78e97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/gui/connectionvalidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,12 @@ void ConnectionValidator::reportConnected() {
void ConnectionValidator::reportResult(Status status)
{
emit connectionResult(status, _errors);
showSystrayErrorMessage();

// notify user of errors
if (!_errors.isEmpty()) {
showSystrayErrorMessage();
}

deleteLater();
}

Expand Down

0 comments on commit 9d78e97

Please sign in to comment.