mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Merge pull request #6421 from nextcloud/bugfix/systray-error
Do not create systray notification if there are no errors.
This commit is contained in:
commit
9d78e97988
1 changed files with 6 additions and 1 deletions
|
@ -329,7 +329,12 @@ void ConnectionValidator::reportConnected() {
|
|||
void ConnectionValidator::reportResult(Status status)
|
||||
{
|
||||
emit connectionResult(status, _errors);
|
||||
|
||||
// notify user of errors
|
||||
if (!_errors.isEmpty()) {
|
||||
showSystrayErrorMessage();
|
||||
}
|
||||
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue