mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
- Fix several possible crashes when using Magnet URI (because they don't have metadata in the beginning)
This commit is contained in:
parent
10ab8f107c
commit
497cb07852
3 changed files with 16 additions and 9 deletions
|
@ -275,6 +275,8 @@ public slots:
|
|||
}
|
||||
|
||||
void showTrackerListMenu(QPoint) {
|
||||
QTorrentHandle h = properties->getCurrentTorrent();
|
||||
if(!h.is_valid() || !h.has_metadata()) return;
|
||||
QList<QTreeWidgetItem*> selected_items = getSelectedTrackerItems();
|
||||
QMenu menu;
|
||||
// Add actions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue