Fix status string for errored torrents.

This commit is contained in:
sledgehammer999 2015-11-11 00:32:49 +02:00
parent 5b232528cc
commit bf0319f7b2
4 changed files with 13 additions and 2 deletions

View file

@ -135,8 +135,11 @@ void TransferListDelegate::paint(QPainter * painter, const QStyleOptionViewItem
case BitTorrent::TorrentState::PausedUploading:
display = tr("Completed");
break;
case BitTorrent::TorrentState::MissingFiles:
display = tr("Missing Files");
break;
case BitTorrent::TorrentState::Error:
display = tr("Missing Files");
display = tr("Errored", "torrent status, the torrent has an error");
break;
default:
display = "";