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:
- Have one completed torrent in ktorrent
- Remove this torrent
- Ktorrent doesnot crash anymore
Reviewers: stikonas, trufanov
Reviewed By: stikonas
Differential Revision: https://phabricator.kde.org/D25680