Skip to content

Commit

Permalink
Fix deletion via the context menu. Broken by qbittorrent#5616.
Browse files Browse the repository at this point in the history
  • Loading branch information
sledgehammer999 committed Aug 23, 2016
1 parent c30882e commit ddb8bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/transferlistwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ void TransferListWidget::displayListMenu(const QPoint&)
QAction actionForceStart(GuiIconProvider::instance()->getIcon("media-seek-forward"), tr("Force Resume", "Force Resume/start the torrent"), 0);
connect(&actionForceStart, SIGNAL(triggered()), this, SLOT(forceStartSelectedTorrents()));
QAction actionDelete(GuiIconProvider::instance()->getIcon("edit-delete"), tr("Delete", "Delete the torrent"), 0);
connect(&actionDelete, SIGNAL(triggered()), this, SLOT(deleteSelectedTorrents()));
connect(&actionDelete, SIGNAL(triggered()), this, SLOT(softDeleteSelectedTorrents()));
QAction actionPreview_file(GuiIconProvider::instance()->getIcon("view-preview"), tr("Preview file..."), 0);
connect(&actionPreview_file, SIGNAL(triggered()), this, SLOT(previewSelectedTorrents()));
QAction actionSet_max_ratio(QIcon(QString::fromUtf8(":/icons/skin/ratio.png")), tr("Limit share ratio..."), 0);
Expand Down

0 comments on commit ddb8bad

Please sign in to comment.