- Fix for media file preview

This commit is contained in:
Christophe Dumez 2009-11-27 11:38:42 +00:00
parent d22d6468c7
commit 90207020f2
6 changed files with 84 additions and 82 deletions

View file

@ -251,6 +251,10 @@ void TransferListWidget::updateMetadata(QTorrentHandle &h) {
}
}
void TransferListWidget::previewFile(QString filePath) {
QDesktopServices::openUrl(QString("file://")+filePath);
}
int TransferListWidget::updateTorrent(int row) {
TorrentState s = STATE_INVALID;
QString hash = getHashFromRow(row);