fix them all

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 18:33:22 -07:00
committed by Esteban Papp
parent f02957c140
commit 58f8b563d0
22 changed files with 28 additions and 29 deletions
@@ -310,7 +310,7 @@ void SpriteBorderEditor::AddConfigureSection(QGridLayout* gridLayout, int& rowNu
int newNumCols = numColsLineEdit->text().toInt(&colConversionSuccess);
const bool positiveInputs = newNumRows > 0 && newNumCols > 0;
const bool valueChanged = m_numRows != newNumRows || m_numCols != newNumCols;
const bool valueChanged = m_numRows != static_cast<uint>(newNumRows) || m_numCols != static_cast<uint>(newNumCols);
// This number of cells is just nearly unusable in the sprite editor UI. Supporting
// more would likely require reworking of UX/UI and even implementation.