~DownloadView();
void updateItem(TorrentState const& info, ParamsMap_t other_info);
- QString removeSelected();
+ QString prepareRemoveSelected();
private slots:
void on_itemClicked(QTreeWidgetItem * item, int column);
void addItem_(TorrentState const& info, ParamsMap_t other_info);
void updateItem_(DownloadViewItem *item
, TorrentState const& info, ParamsMap_t other_info);
+ void removeItem_(DownloadViewItem *item, TorrentState const& info);
// Maps torrent to downloadview item.
// Key: SHA1 info hash of torrent. Data: View item corresponding to torrent.