Show torrent name in "preview file" related dialogs

This commit is contained in:
Chocobo1 2019-10-02 21:02:05 +08:00
parent 6a462edb72
commit 7f73a71319
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
3 changed files with 7 additions and 5 deletions

View file

@ -509,7 +509,8 @@ void TransferListWidget::previewSelectedTorrents()
dialog->show();
}
else {
QMessageBox::critical(this, tr("Unable to preview"), tr("The selected torrent does not contain previewable files"));
QMessageBox::critical(this, tr("Unable to preview"), tr("The selected torrent \"%1\" does not contain previewable files")
.arg(torrent->name()));
}
}
}