diff --git a/src/gui/connectionvalidator.cpp b/src/gui/connectionvalidator.cpp index c87e7477f7ad7..ff3c85836349d 100644 --- a/src/gui/connectionvalidator.cpp +++ b/src/gui/connectionvalidator.cpp @@ -329,19 +329,12 @@ void ConnectionValidator::reportResult(Status status) { emit connectionResult(status, _errors); - // notify user of errors + // TODO: notify user of errors if (!_errors.isEmpty() && _previousErrors != _errors) { - showSystrayErrorMessage(); + qCWarning(lcConnectionValidator) << "Connection issues:" << _errors; } deleteLater(); } -void ConnectionValidator::showSystrayErrorMessage() -{ - Systray::instance()->showMessage(tr("Connection issue"), - _errors.join("
"), - QSystemTrayIcon::Warning); -} - } // namespace OCC diff --git a/src/gui/connectionvalidator.h b/src/gui/connectionvalidator.h index 4b7193b0c8004..ecff3b98b4544 100644 --- a/src/gui/connectionvalidator.h +++ b/src/gui/connectionvalidator.h @@ -149,8 +149,6 @@ protected slots: AccountStatePtr _accountState; AccountPtr _account; bool _isCheckingServerAndAuth = false; - - void showSystrayErrorMessage(); }; }