mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Fix for media file preview
This commit is contained in:
parent
d22d6468c7
commit
90207020f2
6 changed files with 84 additions and 82 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue