Skip to content

Commit d25e3eb

Browse files
committed
Add missing constness.
1 parent 74a014b commit d25e3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExportData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bool ExportData::rowShouldBeSkipped(const QAbstractItemView& view, int row)
3737
const auto* model = view.model();
3838
const bool multiSelection =
3939
(QAbstractItemView::MultiSelection == view.selectionMode());
40-
QItemSelectionModel* selectionModel = view.selectionModel();
40+
const QItemSelectionModel* selectionModel = view.selectionModel();
4141

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

0 commit comments

Comments
 (0)