mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix some sign warnings
This commit is contained in:
parent
ec97747a94
commit
faa27b0754
|
@ -51,7 +51,7 @@ bool BattleChipModel::removeRows(int row, int count, const QModelIndex& parent)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
beginRemoveRows(QModelIndex(), row, row + count - 1);
|
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);
|
m_deck.removeAt(row);
|
||||||
}
|
}
|
||||||
endRemoveRows();
|
endRemoveRows();
|
||||||
|
|
|
@ -153,7 +153,7 @@ private:
|
||||||
QImage resizedImage;
|
QImage resizedImage;
|
||||||
bool outOfDate;
|
bool outOfDate;
|
||||||
QMutex mutex;
|
QMutex mutex;
|
||||||
unsigned w, h;
|
int w, h;
|
||||||
} m_image;
|
} m_image;
|
||||||
|
|
||||||
#ifdef BUILD_QT_MULTIMEDIA
|
#ifdef BUILD_QT_MULTIMEDIA
|
||||||
|
|
Loading…
Reference in New Issue