diff --git a/src/addnewtorrentdialog.cpp b/src/addnewtorrentdialog.cpp index 19f062167..e480ae38b 100644 --- a/src/addnewtorrentdialog.cpp +++ b/src/addnewtorrentdialog.cpp @@ -212,6 +212,7 @@ bool AddNewTorrentDialog::loadTorrent(const QString& torrent_path, const QString return false; } + ui->lblhash->setText(m_hash); setupTreeview(); return true; } @@ -247,6 +248,7 @@ bool AddNewTorrentDialog::loadMagnet(const QString &magnet_uri) HiddenData::addData(m_hash); QBtSession::instance()->addMagnetUri(m_url, false); setMetadataProgressIndicator(true, tr("Retrieving metadata...")); + ui->lblhash->setText(m_hash); return true; } diff --git a/src/addnewtorrentdialog.ui b/src/addnewtorrentdialog.ui index bc3bebea9..98690ae24 100644 --- a/src/addnewtorrentdialog.ui +++ b/src/addnewtorrentdialog.ui @@ -137,7 +137,7 @@ - + @@ -180,6 +180,20 @@ + + + + Info Hash: + + + + + + + Qt::TextSelectableByMouse + + +