mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
committed by
GitHub
parent
502b3d3228
commit
850da9dd83
@@ -692,7 +692,7 @@ void AddNewTorrentDialog::contentLayoutChanged()
|
||||
void AddNewTorrentDialog::saveTorrentFile()
|
||||
{
|
||||
Q_ASSERT(hasMetadata());
|
||||
if (Q_UNLIKELY(!hasMetadata()))
|
||||
if (!hasMetadata()) [[unlikely]]
|
||||
return;
|
||||
|
||||
const auto torrentInfo = *m_torrentDescr.info();
|
||||
|
||||
Reference in New Issue
Block a user