From 78a0f34645fecfbda7c91f2ab3b72df0d81c48af Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 20 Jan 2010 18:43:45 +0000 Subject: [PATCH] BUGFIX: Fix "open torrent destination" feature when path contains spaces --- Changelog | 3 ++- src/transferlistwidget.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 9652974ec..0e87c7ffd 100644 --- a/Changelog +++ b/Changelog @@ -10,7 +10,8 @@ - BUGFIX: Fix typo in legal notice (startup) - BUGFIX: Can listen on ports < 1024 (must be root) - 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 - v2.1.0 - FEATURE: Graphical User Interface can be disabled at compilation time (headless running) diff --git a/src/transferlistwidget.cpp b/src/transferlistwidget.cpp index 8c3b6f5c3..ce334b306 100644 --- a/src/transferlistwidget.cpp +++ b/src/transferlistwidget.cpp @@ -529,7 +529,7 @@ void TransferListWidget::torrentDoubleClicked(QModelIndex index) { } break; case OPEN_DEST: - QDesktopServices::openUrl(QUrl(h.save_path())); + QDesktopServices::openUrl("file://" + h.save_path()); break; } }