Fixes crash, when removing last torrent.BUG: 388803

Authored by gassaf on Dec 8 2019, 12:31 AM.

Description

Fixes crash, when removing last torrent.BUG: 388803

Summary: Torrent wasn't removed from queuemanager properly. Thus calling the data(..) function caused ktorrent to crash.

Test Plan:

  1. Have one completed torrent in ktorrent
  2. Remove this torrent
  3. Ktorrent doesnot crash anymore

Reviewers: stikonas, trufanov

Reviewed By: stikonas

Differential Revision: https://phabricator.kde.org/D25680

Details

Committed
gassafDec 8 2019, 12:36 AM
Reviewer
stikonas
Differential Revision
D25680: Fixes crash, when removing last torrent.BUG: 388803
Parents
R473:8e0145d6eced: Don't display standard groups in Open torrent dialog
Branches
Unknown
Tags
Unknown