BUGFIX: Fix "open torrent destination" feature when path contains spaces

This commit is contained in:
Christophe Dumez
2010-01-20 18:43:45 +00:00
parent 3ae09658c9
commit 78a0f34645
2 changed files with 3 additions and 2 deletions

View File

@@ -10,7 +10,8 @@
- BUGFIX: Fix typo in legal notice (startup) - BUGFIX: Fix typo in legal notice (startup)
- BUGFIX: Can listen on ports < 1024 (must be root) - BUGFIX: Can listen on ports < 1024 (must be root)
- BUGFIX: Paused torrents can now be rechecked - BUGFIX: Paused torrents can now be rechecked
- I18N: Updated translations (Hungarian, Chinese) - BUGFIX: Fix "open torrent destination" feature when path contains spaces
- I18N: Updated translations (Hungarian, Chinese, Russian)
* Mon Jan 18 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.0 * Mon Jan 18 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.0
- FEATURE: Graphical User Interface can be disabled at compilation time (headless running) - FEATURE: Graphical User Interface can be disabled at compilation time (headless running)

View File

@@ -529,7 +529,7 @@ void TransferListWidget::torrentDoubleClicked(QModelIndex index) {
} }
break; break;
case OPEN_DEST: case OPEN_DEST:
QDesktopServices::openUrl(QUrl(h.save_path())); QDesktopServices::openUrl("file://" + h.save_path());
break; break;
} }
} }