SYNERGY-1-1494 Replace notifications with logs (#7166)

* SYNERGY-1-1494 Replace notifications with logs

* Update ChangeLog
This commit is contained in:
Serhii Hadzhilov 2022-05-11 12:22:17 +03:00 committed by GitHub
parent 4d13d52710
commit 322e583917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -3,6 +3,7 @@ v1.14.4-snapshot
Enhancements:
- #7143 Add ability to stop synergy on the login screen
- #7157 | #7160 Synergy business accepts only business licenses
- #7166 Replace annoying language notifications with warnings in logs
Bug fixes:
- #7144 Fix double lines when pasting text from Linux to Windows

View file

@ -976,7 +976,7 @@ ServerProxy::setActiveServerLanguage(const String& language)
if (!m_languageManager.isLanguageInstalled(m_serverLanguage)) {
if(!m_isUserNotifiedAboutLanguageSyncError) {
AppUtil::instance().showNotification("Language error", "Current server language is not installed on client.");
LOG((CLOG_WARN "Current server language is not installed on client."));
m_isUserNotifiedAboutLanguageSyncError = true;
}
}
@ -994,8 +994,8 @@ ServerProxy::checkMissedLanguages() const
{
auto missedLanguages = m_languageManager.getMissedLanguages();
if (!missedLanguages.empty()) {
AppUtil::instance().showNotification("Language synchronization error",
"You need to install these languages on this computer and restart Synergy to enable support for multiple languages: "
+ missedLanguages);
LOG((CLOG_WARN
"You need to install these languages on this computer and restart Synergy to enable support for multiple languages: %s",
missedLanguages.c_str()));
}
}