mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
commit
ce0b6f0d56
3 changed files with 6 additions and 3 deletions
2
.github/workflows/coverity-scan.yml
vendored
2
.github/workflows/coverity-scan.yml
vendored
|
@ -77,7 +77,7 @@ jobs:
|
||||||
curl \
|
curl \
|
||||||
--form token=$TOKEN \
|
--form token=$TOKEN \
|
||||||
--form email=sledgehammer999@qbittorrent.org \
|
--form email=sledgehammer999@qbittorrent.org \
|
||||||
--form file=@qbittorrent.tgz \
|
--form file=@qbittorrent.xz \
|
||||||
--form version="$(git rev-parse --short HEAD)" \
|
--form version="$(git rev-parse --short HEAD)" \
|
||||||
--form description="master" \
|
--form description="master" \
|
||||||
https://scan.coverity.com/builds?project=qbittorrent%2FqBittorrent
|
https://scan.coverity.com/builds?project=qbittorrent%2FqBittorrent
|
||||||
|
|
|
@ -48,7 +48,7 @@ QByteArray Utils::Gzip::compress(const QByteArray &data, const int level, bool *
|
||||||
const int BUFSIZE = 128 * 1024;
|
const int BUFSIZE = 128 * 1024;
|
||||||
std::vector<char> tmpBuf(BUFSIZE);
|
std::vector<char> tmpBuf(BUFSIZE);
|
||||||
|
|
||||||
z_stream strm;
|
z_stream strm {};
|
||||||
strm.zalloc = Z_NULL;
|
strm.zalloc = Z_NULL;
|
||||||
strm.zfree = Z_NULL;
|
strm.zfree = Z_NULL;
|
||||||
strm.opaque = Z_NULL;
|
strm.opaque = Z_NULL;
|
||||||
|
@ -109,7 +109,7 @@ QByteArray Utils::Gzip::decompress(const QByteArray &data, bool *ok)
|
||||||
const int BUFSIZE = 1024 * 1024;
|
const int BUFSIZE = 1024 * 1024;
|
||||||
std::vector<char> tmpBuf(BUFSIZE);
|
std::vector<char> tmpBuf(BUFSIZE);
|
||||||
|
|
||||||
z_stream strm;
|
z_stream strm {};
|
||||||
strm.zalloc = Z_NULL;
|
strm.zalloc = Z_NULL;
|
||||||
strm.zfree = Z_NULL;
|
strm.zfree = Z_NULL;
|
||||||
strm.opaque = Z_NULL;
|
strm.opaque = Z_NULL;
|
||||||
|
|
|
@ -551,6 +551,9 @@ void PropertiesWidget::loadDynamicData()
|
||||||
|
|
||||||
void PropertiesWidget::loadUrlSeeds()
|
void PropertiesWidget::loadUrlSeeds()
|
||||||
{
|
{
|
||||||
|
if (!m_torrent)
|
||||||
|
return;
|
||||||
|
|
||||||
m_ui->listWebSeeds->clear();
|
m_ui->listWebSeeds->clear();
|
||||||
qDebug("Loading URL seeds");
|
qDebug("Loading URL seeds");
|
||||||
const QVector<QUrl> hcSeeds = m_torrent->urlSeeds();
|
const QVector<QUrl> hcSeeds = m_torrent->urlSeeds();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue