From 8c52b53300698d73f4e452a4a0dde058617666a2 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Sat, 6 Jan 2024 15:51:19 +0300 Subject: [PATCH] Show URL seeds for torrents that have no metadata PR #20233. Closes #20198. --- src/gui/properties/propertieswidget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/properties/propertieswidget.cpp b/src/gui/properties/propertieswidget.cpp index 6b846e2bb..9c74c9ed4 100644 --- a/src/gui/properties/propertieswidget.cpp +++ b/src/gui/properties/propertieswidget.cpp @@ -291,6 +291,8 @@ void PropertiesWidget::loadTorrentInfos(BitTorrent::Torrent *const torrent) // Info hashes m_ui->labelInfohash1Val->setText(m_torrent->infoHash().v1().isValid() ? m_torrent->infoHash().v1().toString() : tr("N/A")); m_ui->labelInfohash2Val->setText(m_torrent->infoHash().v2().isValid() ? m_torrent->infoHash().v2().toString() : tr("N/A")); + // URL seeds + loadUrlSeeds(); if (m_torrent->hasMetadata()) { // Creation date @@ -301,9 +303,6 @@ void PropertiesWidget::loadTorrentInfos(BitTorrent::Torrent *const torrent) // Comment m_ui->labelCommentVal->setText(Utils::Misc::parseHtmlLinks(m_torrent->comment().toHtmlEscaped())); - // URL seeds - loadUrlSeeds(); - m_ui->labelCreatedByVal->setText(m_torrent->creator()); } // Load dynamic data