mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Minor Windows bug fixes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user