Skip to content

Commit

Permalink
Add missing constness.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 29, 2024
1 parent 74a014b commit d25e3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExportData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ bool ExportData::rowShouldBeSkipped(const QAbstractItemView& view, int row)
const auto* model = view.model();
const bool multiSelection =
(QAbstractItemView::MultiSelection == view.selectionMode());
QItemSelectionModel* selectionModel = view.selectionModel();
const QItemSelectionModel* selectionModel = view.selectionModel();

return multiSelection && !selectionModel->isSelected(model->index(row, 0));
}
Expand Down

0 comments on commit d25e3eb

Please sign in to comment.