mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Drop implicit conversions between InfoHash and QString
This commit is contained in:
parent
752eb58ec0
commit
8cfd803222
13 changed files with 72 additions and 68 deletions
|
@ -296,7 +296,7 @@ bool AddNewTorrentDialog::loadTorrentImpl()
|
|||
return false;
|
||||
}
|
||||
|
||||
m_ui->labelHashData->setText(infoHash);
|
||||
m_ui->labelHashData->setText(infoHash.toString());
|
||||
setupTreeview();
|
||||
TMMChanged(m_ui->comboTTM->currentIndex());
|
||||
return true;
|
||||
|
@ -348,7 +348,7 @@ bool AddNewTorrentDialog::loadMagnet(const BitTorrent::MagnetUri &magnetUri)
|
|||
|
||||
BitTorrent::Session::instance()->downloadMetadata(magnetUri);
|
||||
setMetadataProgressIndicator(true, tr("Retrieving metadata..."));
|
||||
m_ui->labelHashData->setText(infoHash);
|
||||
m_ui->labelHashData->setText(infoHash.toString());
|
||||
|
||||
m_magnetURI = magnetUri;
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue