fix(settings): Use broken lock icon when not using https

Fixes #6723 

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2024-08-14 16:26:24 -04:00 committed by Matthieu Gallien
parent 0de5c75cd9
commit 83d1ed4869

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"));
}
}