mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 01:57:07 -07:00
Priority actions are only effective if the transfer list tab is displayed
This commit is contained in:
parent
bf4f1a7c37
commit
26c69fe6d4
1 changed files with 2 additions and 2 deletions
|
@ -718,8 +718,8 @@ void TransferListWidget::deleteSelectedTorrents() {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: Should work only if the tab is displayed
|
||||
void TransferListWidget::increasePrioSelectedTorrents() {
|
||||
if(main_window->getCurrentTabWidget() != this) return;
|
||||
const QStringList hashes = getSelectedTorrentsHashes();
|
||||
foreach(const QString &hash, hashes) {
|
||||
QTorrentHandle h = BTSession->getTorrentHandle(hash);
|
||||
|
@ -730,8 +730,8 @@ void TransferListWidget::increasePrioSelectedTorrents() {
|
|||
refreshList();
|
||||
}
|
||||
|
||||
// FIXME: Should work only if the tab is displayed
|
||||
void TransferListWidget::decreasePrioSelectedTorrents() {
|
||||
if(main_window->getCurrentTabWidget() != this) return;
|
||||
const QStringList hashes = getSelectedTorrentsHashes();
|
||||
foreach(const QString &hash, hashes) {
|
||||
QTorrentHandle h = BTSession->getTorrentHandle(hash);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue