- Fix and improved torrent comment display

- Made links linkable in torrent comments
This commit is contained in:
Christophe Dumez 2009-11-19 12:17:51 +00:00
parent ccdb2a82c3
commit 1b82dd315b
2 changed files with 338 additions and 274 deletions

View file

@ -164,7 +164,7 @@ void PropertiesWidget::clear() {
save_path->clear();
lbl_creationDate->clear();
hash_lbl->clear();
comment_lbl->clear();
comment_text->clear();
incrementalDownload->setChecked(false);
trackerList->clear();
progressBar->setProgress(QRealArray());
@ -210,7 +210,7 @@ void PropertiesWidget::loadTorrentInfos(QTorrentHandle &_h) {
// Hash
hash_lbl->setText(h.hash());
// Comment
comment_lbl->setText(h.comment());
comment_text->setHtml(h.comment());
// Sequential download
incrementalDownload->setChecked(TorrentPersistentData::isSequentialDownload(h.hash()));
// URL seeds