We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7044b94 commit 6d26785Copy full SHA for 6d26785
1 file changed
gui/resultstree.cpp
@@ -750,8 +750,8 @@ void ResultsTree::contextMenuEvent(QContextMenuEvent * e)
750
int selectedFiles = 0;
751
int selectedResults = 0;
752
753
- for (auto index : mSelectionModel->selectedRows()) {
754
- auto *item = mModel.itemFromIndex(index);
+ for (auto row : mSelectionModel->selectedRows()) {
+ auto *item = mModel.itemFromIndex(row);
755
if (!item->parent())
756
selectedFiles++;
757
else if (!item->parent()->parent())
0 commit comments