|
|
@ -288,6 +288,7 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession |
|
|
|
} |
|
|
|
} |
|
|
|
QMenu subMenu; |
|
|
|
QMenu subMenu; |
|
|
|
subMenu.setTitle(tr("Priority")); |
|
|
|
subMenu.setTitle(tr("Priority")); |
|
|
|
|
|
|
|
subMenu.addAction(actionNot_downloaded); |
|
|
|
subMenu.addAction(actionNormal); |
|
|
|
subMenu.addAction(actionNormal); |
|
|
|
subMenu.addAction(actionHigh); |
|
|
|
subMenu.addAction(actionHigh); |
|
|
|
subMenu.addAction(actionMaximum); |
|
|
|
subMenu.addAction(actionMaximum); |
|
|
@ -304,6 +305,10 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if(act == actionMaximum) { |
|
|
|
if(act == actionMaximum) { |
|
|
|
prio = MAXIMUM; |
|
|
|
prio = MAXIMUM; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
if(act == actionNot_downloaded) { |
|
|
|
|
|
|
|
prio = IGNORED; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
qDebug("Setting files priority"); |
|
|
|
qDebug("Setting files priority"); |
|
|
|