mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
BUGFIX: Fix crash when double-clicking on a torrent that has no metadata to open
its save path
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
- BUGFIX: Make sure bandwidth limiting dialogs are centered on screen
|
- BUGFIX: Make sure bandwidth limiting dialogs are centered on screen
|
||||||
- BUGFIX: Added support for HTTP redirection
|
- BUGFIX: Added support for HTTP redirection
|
||||||
- BUGFIX: Fix compilation error when geoip database is embedded
|
- 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 <chris@qbittorrent.org> - v2.1.2
|
* Sun Jan 24 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.2
|
||||||
- FEATURE: Added back file prioritizing in a torrent
|
- FEATURE: Added back file prioritizing in a torrent
|
||||||
|
|||||||
@@ -554,7 +554,10 @@ void TransferListWidget::torrentDoubleClicked(QModelIndex index) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case OPEN_DEST:
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user