mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Make URL in "Add Torrent File..." clickable. Closes #3928.
This commit is contained in:
parent
df8def02f5
commit
a16de62103
2 changed files with 15 additions and 4 deletions
|
@ -667,8 +667,7 @@ void AddNewTorrentDialog::setupTreeview()
|
|||
setWindowTitle(m_torrentInfo.name());
|
||||
|
||||
// Set torrent information
|
||||
QString comment = m_torrentInfo.comment();
|
||||
ui->comment_lbl->setText(comment.replace('\n', ' '));
|
||||
ui->comment_lbl->setText(Utils::Misc::parseHtmlLinks(m_torrentInfo.comment()));
|
||||
ui->date_lbl->setText(!m_torrentInfo.creationDate().isNull() ? m_torrentInfo.creationDate().toString(Qt::DefaultLocaleLongDate) : tr("Not available"));
|
||||
|
||||
// Prepare content tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue