mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Move new icons to their own theme folder.
This commit is contained in:
parent
69da12e6b2
commit
c384cc8c8c
159 changed files with 86 additions and 86 deletions
|
@ -1637,11 +1637,11 @@ void OptionsDialog::setSslKey(const QByteArray &key, bool interactive)
|
|||
{
|
||||
#ifndef QT_NO_OPENSSL
|
||||
if (!key.isEmpty() && !QSslKey(key, QSsl::Rsa).isNull()) {
|
||||
m_ui->lblSslKeyStatus->setPixmap(QPixmap(":/icons/oxygen/security-high.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_ui->lblSslKeyStatus->setPixmap(QPixmap(":/icons/qbt-theme/security-high.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_sslKey = key;
|
||||
}
|
||||
else {
|
||||
m_ui->lblSslKeyStatus->setPixmap(QPixmap(":/icons/oxygen/security-low.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_ui->lblSslKeyStatus->setPixmap(QPixmap(":/icons/qbt-theme/security-low.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_sslKey.clear();
|
||||
if (interactive)
|
||||
QMessageBox::warning(this, tr("Invalid key"), tr("This is not a valid SSL key."));
|
||||
|
@ -1656,11 +1656,11 @@ void OptionsDialog::setSslCertificate(const QByteArray &cert, bool interactive)
|
|||
{
|
||||
#ifndef QT_NO_OPENSSL
|
||||
if (!cert.isEmpty() && !QSslCertificate(cert).isNull()) {
|
||||
m_ui->lblSslCertStatus->setPixmap(QPixmap(":/icons/oxygen/security-high.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_ui->lblSslCertStatus->setPixmap(QPixmap(":/icons/qbt-theme/security-high.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_sslCert = cert;
|
||||
}
|
||||
else {
|
||||
m_ui->lblSslCertStatus->setPixmap(QPixmap(":/icons/oxygen/security-low.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_ui->lblSslCertStatus->setPixmap(QPixmap(":/icons/qbt-theme/security-low.png").scaledToHeight(20, Qt::SmoothTransformation));
|
||||
m_sslCert.clear();
|
||||
if (interactive)
|
||||
QMessageBox::warning(this, tr("Invalid certificate"), tr("This is not a valid SSL certificate."));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue