mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Enable delete hotkey in web seed and tracker list.
Make delete hotkey in transfer list non-global.
This commit is contained in:
parent
7adf012f9c
commit
107906928a
7 changed files with 13 additions and 6 deletions
|
@ -143,6 +143,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
|
|||
connect(header(), SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(displayDLHoSMenu(const QPoint&)));
|
||||
|
||||
editHotkey = new QShortcut(QKeySequence("F2"), this, SLOT(renameSelectedTorrent()), 0, Qt::WidgetShortcut);
|
||||
deleteHotkey = new QShortcut(QKeySequence::Delete, this, SLOT(deleteSelectedTorrents()), 0, Qt::WidgetShortcut);
|
||||
}
|
||||
|
||||
TransferListWidget::~TransferListWidget() {
|
||||
|
@ -156,6 +157,7 @@ TransferListWidget::~TransferListWidget() {
|
|||
delete listModel;
|
||||
delete listDelegate;
|
||||
delete editHotkey;
|
||||
delete deleteHotkey;
|
||||
qDebug() << Q_FUNC_INFO << "EXIT";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue