Browse Source

Remove redundant HTML escaping

The text widget is already set to plaintext and doing HTML escaping will
not give us more security but only makes it harder to read.
adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
f1243871b0
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/properties/propertieswidget.cpp

2
src/gui/properties/propertieswidget.cpp

@ -317,7 +317,7 @@ void PropertiesWidget::loadTorrentInfos(BitTorrent::TorrentHandle *const torrent
// URL seeds // URL seeds
loadUrlSeeds(); loadUrlSeeds();
m_ui->labelCreatedByVal->setText(m_torrent->creator().toHtmlEscaped()); m_ui->labelCreatedByVal->setText(m_torrent->creator());
// List files in torrent // List files in torrent
m_propListModel->model()->setupModelData(m_torrent->info()); m_propListModel->model()->setupModelData(m_torrent->info());

Loading…
Cancel
Save