mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 22:22:33 -06:00
Use Start/Stop instead of Resume/Pause
PR #20532. --------- Co-authored-by: Vladimir Golovnev (Glassez) <glassez@yandex.ru>
This commit is contained in:
@@ -169,9 +169,9 @@ void PluginSelectDialog::togglePluginState(QTreeWidgetItem *item, int)
|
||||
|
||||
void PluginSelectDialog::displayContextMenu()
|
||||
{
|
||||
// Enable/disable pause/start action given the DL state
|
||||
const QList<QTreeWidgetItem *> items = m_ui->pluginsTree->selectedItems();
|
||||
if (items.isEmpty()) return;
|
||||
if (items.isEmpty())
|
||||
return;
|
||||
|
||||
QMenu *myContextMenu = new QMenu(this);
|
||||
myContextMenu->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
Reference in New Issue
Block a user