mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Check directly if container is empty or not
This commit is contained in:
parent
6767487e40
commit
08a2439f46
2 changed files with 2 additions and 2 deletions
|
@ -660,7 +660,7 @@ void PropertiesWidget::displayWebSeedListMenu(const QPoint &)
|
|||
QAction *actCpy = nullptr;
|
||||
QAction *actEdit = nullptr;
|
||||
|
||||
if (rows.size()) {
|
||||
if (!rows.isEmpty()) {
|
||||
actDel = seedMenu.addAction(GuiIconProvider::instance()->getIcon("list-remove"), tr("Remove Web seed"));
|
||||
seedMenu.addSeparator();
|
||||
actCpy = seedMenu.addAction(GuiIconProvider::instance()->getIcon("edit-copy"), tr("Copy Web seed URL"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue