mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Fix for media file preview
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user