Skip to content

Commit

Permalink
Merge pull request #7004 from nextcloud/fix/issue-6723-http-icon
Browse files Browse the repository at this point in the history
fix(settings): Use broken lock icon when not using https
  • Loading branch information
mgallien authored Aug 20, 2024
2 parents 0de5c75 + 83d1ed4 commit db604b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/sslbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
}
Expand Down

0 comments on commit db604b8

Please sign in to comment.