mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #22: Fix compilation warnings
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user