[Fix-Warnings] Node isn't const.

This commit is contained in:
Brübach, Lukas 2025-11-29 15:27:41 +01:00
parent 70f5f5e768
commit 6bbb48fb6e

View file

@ -481,7 +481,7 @@ void DeckListModel::sortHelper(InnerDecklistNode *node, Qt::SortOrder order)
for (int i = sortResult.size() - 1; i >= 0; --i) {
const int fromRow = sortResult[i].first;
const int toRow = sortResult[i].second;
const AbstractDecklistNode *temp = node->at(toRow);
AbstractDecklistNode *temp = node->at(toRow);
for (int j = 0; j < columns; ++j) {
from << createIndex(fromRow, j, temp);
to << createIndex(toRow, j, temp);