mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Fix unused variable warnings
This commit is contained in:
parent
b971eb52ee
commit
ab187f06da
3 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue