mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
Fixed file priority context menu
This commit is contained in:
parent
25e27f4614
commit
a205591178
@ -489,8 +489,8 @@ void PropertiesWidget::displayFilesListMenu(const QPoint&){
|
|||||||
actRename = myFilesLlistMenu.addAction(IconProvider::instance()->getIcon("edit-rename"), tr("Rename..."));
|
actRename = myFilesLlistMenu.addAction(IconProvider::instance()->getIcon("edit-rename"), tr("Rename..."));
|
||||||
myFilesLlistMenu.addSeparator();
|
myFilesLlistMenu.addSeparator();
|
||||||
}
|
}
|
||||||
if(static_cast<torrent_handle>(h).is_seed()) {
|
QMenu subMenu;
|
||||||
QMenu subMenu;
|
if(!static_cast<torrent_handle>(h).is_seed()) {
|
||||||
subMenu.setTitle(tr("Priority"));
|
subMenu.setTitle(tr("Priority"));
|
||||||
subMenu.addAction(actionNot_downloaded);
|
subMenu.addAction(actionNot_downloaded);
|
||||||
subMenu.addAction(actionNormal);
|
subMenu.addAction(actionNormal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user