mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Minor Windows bug fixes
This commit is contained in:
parent
ff08abe177
commit
afaca423cc
3 changed files with 12 additions and 0 deletions
|
@ -314,7 +314,11 @@ void TransferListWidget::updateMetadata(QTorrentHandle &h) {
|
|||
}
|
||||
|
||||
void TransferListWidget::previewFile(QString filePath) {
|
||||
#ifdef Q_WS_WIN
|
||||
QDesktopServices::openUrl(QUrl(QString("file:///")+filePath));
|
||||
#else
|
||||
QDesktopServices::openUrl(QUrl(QString("file://")+filePath));
|
||||
#endif
|
||||
}
|
||||
|
||||
int TransferListWidget::updateTorrent(int row) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue