1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 13:04:23 +00:00

Compilation fix

This commit is contained in:
Christophe Dumez 2012-06-28 18:06:05 +03:00
parent bdb0e125a4
commit ad79cbb9a1

View File

@ -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;
} }