Skip to content

Commit

Permalink
Merge pull request #6439 from nextcloud/backport/6421/stable-3.12
Browse files Browse the repository at this point in the history
[stable-3.12] Do not create systray notification if there are no errors.
  • Loading branch information
mgallien authored Feb 13, 2024
2 parents f59da3f + fcfa972 commit 7073f51
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 7073f51

Please sign in to comment.