mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Added back ability to reorder trackers
This commit is contained in:
@@ -100,7 +100,6 @@ void TrackerList::setRowColor(int row, QColor color) {
|
||||
}
|
||||
|
||||
void TrackerList::moveSelectionUp() {
|
||||
#if LIBTORRENT_VERSION_MINOR < 15
|
||||
QTorrentHandle h = properties->getCurrentTorrent();
|
||||
if(!h.is_valid()) {
|
||||
clear();
|
||||
@@ -134,11 +133,9 @@ void TrackerList::moveSelectionUp() {
|
||||
h.replace_trackers(trackers);
|
||||
// Reannounce
|
||||
h.force_reannounce();
|
||||
#endif
|
||||
}
|
||||
|
||||
void TrackerList::moveSelectionDown() {
|
||||
#if LIBTORRENT_VERSION_MINOR < 15
|
||||
QTorrentHandle h = properties->getCurrentTorrent();
|
||||
if(!h.is_valid()) {
|
||||
clear();
|
||||
@@ -172,7 +169,6 @@ void TrackerList::moveSelectionDown() {
|
||||
h.replace_trackers(trackers);
|
||||
// Reannounce
|
||||
h.force_reannounce();
|
||||
#endif
|
||||
}
|
||||
|
||||
void TrackerList::clear() {
|
||||
|
||||
Reference in New Issue
Block a user