Merge pull request #7004 from nextcloud/fix/issue-6723-http-icon

fix(settings): Use broken lock icon when not using https
This commit is contained in:
Matthieu Gallien 2024-08-20 11:01:09 +02:00 committed by GitHub
commit db604b8193
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -173,7 +173,7 @@ void SslButton::updateAccountState(AccountState *accountState)
QSslCipher cipher = account->_sessionCipher;
setToolTip(tr("This connection is encrypted using %1 bit %2.\n").arg(cipher.usedBits()).arg(cipher.name()));
} else {
setIcon(QIcon(QLatin1String(":/client/theme/lock-http.svg")));
setIcon(QIcon(QLatin1String(":/client/theme/lock-broken.svg")));
setToolTip(tr("This connection is NOT secure as it is not encrypted.\n"));
}
}