mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Fix unused variable warnings
This commit is contained in:
committed by
sledgehammer999
parent
98c33dd77c
commit
79e7e1727f
@@ -1638,6 +1638,9 @@ void OptionsDialog::setSslKey(const QByteArray &key, bool interactive)
|
||||
if (interactive)
|
||||
QMessageBox::warning(this, tr("Invalid key"), tr("This is not a valid SSL key."));
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(key);
|
||||
Q_UNUSED(interactive);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1654,6 +1657,9 @@ void OptionsDialog::setSslCertificate(const QByteArray &cert, bool interactive)
|
||||
if (interactive)
|
||||
QMessageBox::warning(this, tr("Invalid certificate"), tr("This is not a valid SSL certificate."));
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(cert);
|
||||
Q_UNUSED(interactive);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user