diff --git a/src/properties/trackerlist.cpp b/src/properties/trackerlist.cpp index 6c0161ecf..90837081c 100644 --- a/src/properties/trackerlist.cpp +++ b/src/properties/trackerlist.cpp @@ -83,7 +83,7 @@ TrackerList::~TrackerList() { QList TrackerList::getSelectedTrackerItems() const { const QList selected_items = selectedItems(); QList selected_trackers; - foreach (QTreeWidgetItem *item, selectedItems) { + foreach (QTreeWidgetItem *item, selected_items) { if (indexOfTopLevelItem(item) >= NB_STICKY_ITEM) { // Ignore STICKY ITEMS selected_trackers << item; }