mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 21:04:07 -07:00
[Fix-Warnings] Node isn't const.
This commit is contained in:
parent
70f5f5e768
commit
6bbb48fb6e
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ void DeckListModel::sortHelper(InnerDecklistNode *node, Qt::SortOrder order)
|
||||||
for (int i = sortResult.size() - 1; i >= 0; --i) {
|
for (int i = sortResult.size() - 1; i >= 0; --i) {
|
||||||
const int fromRow = sortResult[i].first;
|
const int fromRow = sortResult[i].first;
|
||||||
const int toRow = sortResult[i].second;
|
const int toRow = sortResult[i].second;
|
||||||
const AbstractDecklistNode *temp = node->at(toRow);
|
AbstractDecklistNode *temp = node->at(toRow);
|
||||||
for (int j = 0; j < columns; ++j) {
|
for (int j = 0; j < columns; ++j) {
|
||||||
from << createIndex(fromRow, j, temp);
|
from << createIndex(fromRow, j, temp);
|
||||||
to << createIndex(toRow, j, temp);
|
to << createIndex(toRow, j, temp);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue