Issue #22: Fix compilation warnings

This commit is contained in:
Jakub Melka
2022-07-31 18:32:57 +02:00
parent b30150a503
commit e310efb763
70 changed files with 424 additions and 435 deletions

View File

@@ -1070,9 +1070,9 @@ bool PageItemModel::dropMimeData(const QMimeData* data, Qt::DropAction action, i
QDataStream stream(&serializedData, QIODevice::ReadOnly);
while (!stream.atEnd())
{
int row = -1;
stream >> row;
rows.push_back(row);
int currentRow = -1;
stream >> currentRow;
rows.push_back(currentRow);
}
std::sort(rows.begin(), rows.end());