diff --git a/Changelog b/Changelog index 9f1e29622..099c56d36 100644 --- a/Changelog +++ b/Changelog @@ -3,6 +3,7 @@ - BUGFIX: Make sure bandwidth limiting dialogs are centered on screen - BUGFIX: Added support for HTTP redirection - BUGFIX: Fix compilation error when geoip database is embedded + - BUGFIX: Fix crash when double-clicking on a torrent that has no metadata to open its save path * Sun Jan 24 2010 - Christophe Dumez - v2.1.2 - FEATURE: Added back file prioritizing in a torrent diff --git a/src/transferlistwidget.cpp b/src/transferlistwidget.cpp index 1afffa979..39ea17103 100644 --- a/src/transferlistwidget.cpp +++ b/src/transferlistwidget.cpp @@ -554,7 +554,10 @@ void TransferListWidget::torrentDoubleClicked(QModelIndex index) { } break; case OPEN_DEST: - QDesktopServices::openUrl("file://" + h.root_path()); + if(h.has_metadata()) + QDesktopServices::openUrl("file://" + h.root_path()); + else + QDesktopServices::openUrl("file://" + h.save_path()); break; } }