Minor Windows bug fixes

This commit is contained in:
Christophe Dumez 2010-07-25 15:30:26 +00:00
commit afaca423cc
3 changed files with 12 additions and 0 deletions

View file

@ -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) {