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