mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Compilation fix
This commit is contained in:
parent
bdb0e125a4
commit
ad79cbb9a1
@ -83,7 +83,7 @@ TrackerList::~TrackerList() {
|
|||||||
QList<QTreeWidgetItem*> TrackerList::getSelectedTrackerItems() const {
|
QList<QTreeWidgetItem*> TrackerList::getSelectedTrackerItems() const {
|
||||||
const QList<QTreeWidgetItem*> selected_items = selectedItems();
|
const QList<QTreeWidgetItem*> selected_items = selectedItems();
|
||||||
QList<QTreeWidgetItem*> selected_trackers;
|
QList<QTreeWidgetItem*> selected_trackers;
|
||||||
foreach (QTreeWidgetItem *item, selectedItems) {
|
foreach (QTreeWidgetItem *item, selected_items) {
|
||||||
if (indexOfTopLevelItem(item) >= NB_STICKY_ITEM) { // Ignore STICKY ITEMS
|
if (indexOfTopLevelItem(item) >= NB_STICKY_ITEM) { // Ignore STICKY ITEMS
|
||||||
selected_trackers << item;
|
selected_trackers << item;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user