Qt: Fix some sign warnings

This commit is contained in:
Vicki Pfau 2020-12-05 20:11:02 -08:00
parent ec97747a94
commit faa27b0754
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ bool BattleChipModel::removeRows(int row, int count, const QModelIndex& parent)
return false;
}
beginRemoveRows(QModelIndex(), row, row + count - 1);
for (size_t i = 0; i < count; ++i) {
for (int i = 0; i < count; ++i) {
m_deck.removeAt(row);
}
endRemoveRows();

View File

@ -153,7 +153,7 @@ private:
QImage resizedImage;
bool outOfDate;
QMutex mutex;
unsigned w, h;
int w, h;
} m_image;
#ifdef BUILD_QT_MULTIMEDIA