mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
committed by
GitHub
parent
f27f2c20e0
commit
10ee1ab7a2
@@ -454,7 +454,7 @@ void TorrentContentWidget::onItemDoubleClicked(const QModelIndex &index)
|
||||
const auto *contentHandler = m_model->contentHandler();
|
||||
Q_ASSERT(contentHandler && contentHandler->hasMetadata());
|
||||
|
||||
if (Q_UNLIKELY(!contentHandler || !contentHandler->hasMetadata()))
|
||||
if (!contentHandler || !contentHandler->hasMetadata()) [[unlikely]]
|
||||
return;
|
||||
|
||||
if (m_doubleClickAction == DoubleClickAction::Rename)
|
||||
|
||||
Reference in New Issue
Block a user